|
@@ -302,7 +302,7 @@ public class CustomFieldTemplateDataServiceImpl extends BaseServiceImpl<CustomFi
|
|
|
}else{
|
|
|
data = JsonUtils.jsonToModel(info.getData(),RepairTicketTemplateData.class);
|
|
|
RepairApplicationForm form = repairApplicationFormMapper.selectByPrimaryKey(objId);
|
|
|
- if(StringUtils.isBlank(data.getRepairMan())){
|
|
|
+ if(StringUtils.isBlank(data.getRepairMan()) && StringUtils.isNotBlank(form.getRepairUserId())){
|
|
|
data.setRepairMan(sysUserMapper.selectByPrimaryKey(form.getRepairUserId()).getRealName());
|
|
|
}
|
|
|
if(StringUtils.isBlank(data.getRepairStartTime()) && form.getRepairStartTime() != null){
|