renyu 3 anni fa
parent
commit
0310c92ab6

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

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