|
@@ -370,6 +370,10 @@ public class RepairApplicationFormServiceImpl extends BaseServiceImpl<RepairAppl
|
|
this.saveFile(model);
|
|
this.saveFile(model);
|
|
|
|
|
|
RepairApplicationForm form = BeanConverterUtil.copyObjectProperties(model, RepairApplicationForm.class);
|
|
RepairApplicationForm form = BeanConverterUtil.copyObjectProperties(model, RepairApplicationForm.class);
|
|
|
|
+ if (form.getCategory()==null){
|
|
|
|
+ form.setCategory(2);//默认为非计划性维修
|
|
|
|
+ }
|
|
|
|
+
|
|
int result = mapper.insert(form);
|
|
int result = mapper.insert(form);
|
|
|
|
|
|
String domain = ConfigCache.getLabelByValueAllowNull(SysConfigEnum.SYSTEM_DOMAIN.name());
|
|
String domain = ConfigCache.getLabelByValueAllowNull(SysConfigEnum.SYSTEM_DOMAIN.name());
|