|
@@ -254,11 +254,10 @@ public class FabricLossServiceImpl extends ServiceImpl<FabricLossMapper, FabricL
|
|
|
SyFabricLossReport entity = list.get(0);
|
|
|
if(oConvertUtils.isNotEmpty(entity.getAttachs())){
|
|
|
sbu.append(entity.getAttachs()+","+name);
|
|
|
-
|
|
|
- entity.setAttachs(sbu.toString());
|
|
|
}else{
|
|
|
sbu.append(name);
|
|
|
}
|
|
|
+ entity.setAttachs(sbu.toString());
|
|
|
syFabricLossReportService.updateById(entity);
|
|
|
return 1;
|
|
|
}
|