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