renyu 2 年之前
父節點
當前提交
0310c92ab6

+ 3 - 1
src/main/java/com/chinaitop/depot/fumigation/controller/FumigationForRecordController.java

@@ -533,7 +533,7 @@ public class FumigationForRecordController {
533 533
         String spsj = (String)recordInfo.get("qlbspsj");
534 534
         String spr =(String)recordInfo.get("qyfzr");
535 535
         String position =(String)recordInfo.get("position");
536
-        String fhry =(String)recordInfo.get("position");
536
+        String fhry =(String)recordInfo.get("fhry");
537 537
 
538 538
 
539 539
         List<Map<String,Object>> details = ( List<Map<String,Object>>)recordInfo.get("detailVOS");
@@ -621,6 +621,8 @@ public class FumigationForRecordController {
621 621
                     pesticide.setId(ParameterUtil.getCode());
622 622
                     pesticide.setRecordId(uuid);
623 623
                     pesticide.setUseDrugType(syff);
624
+                    pesticide.setCreateTime(new Date());
625
+                    pesticide.setDrugPurity(nd.toString());
624 626
                     if(stringObjectMap.get("pestType") !=null){
625 627
                         zyhc +=(String)stringObjectMap.get("pestType")+"#";
626 628
                         pesticide.setMajorInsectPests(Integer.valueOf((String)stringObjectMap.get("pestType")));