|
|
|
@ -928,10 +928,13 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I
|
|
|
|
|
if (1 == vo.getPersonType()) { |
|
|
|
|
String dutyOrderIds = JSONObject.toJSONString(vo.getDutyOrderIds(), SerializerFeature.WriteMapNullValue); |
|
|
|
|
entity.setDutyOrderIds(dutyOrderIds); |
|
|
|
|
entity.setFlexible(null); |
|
|
|
|
entity.setType(1); |
|
|
|
|
} else { |
|
|
|
|
String flexible = JSONObject.toJSONString(vo.getFlexible(), SerializerFeature.WriteMapNullValue); |
|
|
|
|
entity.setFlexible(flexible); |
|
|
|
|
String dutyOrderIds = JSONObject.toJSONString(vo.getDutyOrderIds(), SerializerFeature.WriteMapNullValue); |
|
|
|
|
entity.setDutyOrderIds(dutyOrderIds); |
|
|
|
|
entity.setType(2); |
|
|
|
|
} |
|
|
|
|
String dutyArrIds = JSONObject.toJSONString(vo.getDutyArrIds(), SerializerFeature.WriteMapNullValue); |
|
|
|
|