Commit e2ac51a1 by dengshichuan

Merge branch 'tzq' into 'develop'

调岗优化

See merge request 8timerv2/8timerapiv200!251
parents 8fecc334 e8acbaa4
...@@ -40,7 +40,7 @@ public class TransferPositionBusiness extends SpmkAssoBusiness { ...@@ -40,7 +40,7 @@ public class TransferPositionBusiness extends SpmkAssoBusiness {
Integer TransferInDepartment = ObjectUtil.isNull(jsonObj.get("__TransferInDepartment",FromData.class)) ? null : Convert.toInt(jsonObj.get("__TransferInDepartment",FromData.class).getValue()); Integer TransferInDepartment = ObjectUtil.isNull(jsonObj.get("__TransferInDepartment",FromData.class)) ? null : Convert.toInt(jsonObj.get("__TransferInDepartment",FromData.class).getValue());
// 调入岗位 // 调入岗位
Integer TransferInPosition = ObjectUtil.isNull(jsonObj.get("__TransferInPosition",FromData.class)) ? null : Integer.parseInt(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 || TransferInPosition == null) { if (TransferInDepartment == null) {
throw new CustomException("部门或岗位 未填写,审批失败"); 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