Commit b3de2e8a authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 7b3276e7 9bbb3038
......@@ -105,7 +105,7 @@ public class StaffController extends BaseCRUDJsonBodyMappingController<StaffServ
@Override
protected void saveBefore(StaffEntity entity, Map<String, Object> model, Context context) throws AppException {
entity.setSource(SourceEnum.自定义.getValue());
//entity.setSource(SourceEnum.自定义.getValue());
//判断手机号码是否包含* 如果包含则不添加更新
if (!entity.newEntity() && !ObjectUtils.isEmpty(entity.getPhoneNumber()) && StrUtil.contains(entity.getPhoneNumber(), "*")) {
entity.setPhoneNumber(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment