Commit e4a5bff0 by yuquan.zhu

Merge branch 'develop' of develop-gitlab.youlingrc.com:8timerv2/8timerapiv200 into zyq_debug

parents 375a2726 f1a248df
......@@ -435,7 +435,8 @@ public class CrmController {
List<CrmClientContacts> crmClientContacts = crmClientData.getCrmClientContacts();
if (crmClientContacts != null) {
for (CrmClientContacts crmClientContact : crmClientContacts) {
crmClientContact.updateById();
// crmClientContact.updateById();
crmClientContact.insertOrUpdate();
}
}
List<CrmClientAssociate> oldAssociates = CrmClientAssociate.builder().build()
......
......@@ -38,8 +38,12 @@ public class TransferPositionBusiness extends SpmkAssoBusiness {
String ReasonForApplication = ObjectUtil.isNull(jsonObj.get("__ReasonForApplication",FromData.class)) ? null : jsonObj.get("__ReasonForApplication",FromData.class).getValue();
// 调入部门
Integer TransferInDepartment = ObjectUtil.isNull(jsonObj.get("__TransferInDepartment",FromData.class)) ? null : Convert.toInt(jsonObj.get("__TransferInDepartment",FromData.class).getValue());
if(!("").equals(jsonObj.get("__TransferInPosition",FromData.class).getValue())) {
// 调入岗位
Integer TransferInPosition = ObjectUtil.isNull(jsonObj.get("__TransferInPosition",FromData.class)) ? null : Integer.parseInt(jsonObj.get("__TransferInPosition",FromData.class).getValue());
}
if (TransferInDepartment == null) {
throw new CustomException("部门或岗位 未填写,审批失败");
}
......
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