Ver código fonte

面料损耗更新

fenghaifu 2 anos atrás
pai
commit
f5be90858a

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/report/controller/FabricLossController.java

@@ -84,7 +84,7 @@ public class FabricLossController {
 		if (syFabricLossReport != null){
 			fabricLoss = JSON.parseObject(JSON.toJSONString(syFabricLossReport.getContent()), FabricLoss.class);
 		}
-		if (syFabricLossReport == null) {
+		if (fabricLoss == null) {
 			fabricLoss = fabricLossService.getFabricLossData(csocode);
 		}
 		Result<FabricLoss> result = new Result<>();