Bladeren bron

。。。

gaodd 2 jaren geleden
bovenliggende
commit
2018b4c854

+ 5 - 2
src/main/java/com/chinaitop/depot/business/controller/ReceiveNoticeController.java

@@ -154,7 +154,7 @@ public class ReceiveNoticeController {
154 154
 		
155 155
 		 logger.info("接收到的参数是:"+orgId+"--"+storehouseId+"**"+warehouseId+"**"+grainVarietyName+"**"+rksl+"//"+lsxzzbdh);
156 156
 		receiveNoticeService.saveDataRk( orgId, storehouseId, warehouseId, grainVarietyName,
157
-	    		 rksl, lsxzzbdh);
157
+	    		 rksl, lsxzzbdh,null);
158 158
     	
159 159
     }
160 160
 	
@@ -190,9 +190,12 @@ public class ReceiveNoticeController {
190 190
 		List<String> lsxzzbdhList =  map.get("lsxzzbdh");
191 191
 		String lsxzzbdh = lsxzzbdhList.get(0);
192 192
 		
193
+		List<String> xyhList =  map.get("xyh");
194
+		String xyh = xyhList.get(0);
195
+		
193 196
 		logger.info("接收到的参数是:orgId:"+orgId+"--"+"storehouseId:"+storehouseId+"**"+warehouseId+"**"+grainVarietyName+"**"+rksl+"//"+lsxzzbdh);
194 197
 		receiveNoticeService.saveDataRk( orgId, storehouseId, warehouseId, grainVarietyName,
195
-	    		 rksl, lsxzzbdh);
198
+	    		 rksl, lsxzzbdh, xyh);
196 199
     }
197 200
 	
198 201
 	

+ 1 - 1
src/main/java/com/chinaitop/depot/business/service/ReceiveNoticeService.java

@@ -29,6 +29,6 @@ public interface ReceiveNoticeService {
29 29
 	//void saveDataRk(Map<String, Object> paramMap);
30 30
 
31 31
 	void saveDataRk(String orgId, Integer storehouseId, Integer warehouseId, String grainVarietyName, BigDecimal rksl,
32
-			String lsxzzbdh);
32
+			String lsxzzbdh,String xyh);
33 33
 			
34 34
 }

+ 2 - 1
src/main/java/com/chinaitop/depot/business/service/impl/ReceiveNoticeServiceImpl.java

@@ -480,7 +480,7 @@ public class ReceiveNoticeServiceImpl implements ReceiveNoticeService {
480 480
 
481 481
 	@Override
482 482
 	public void saveDataRk(String orgId, Integer storehouseId, Integer warehouseId, String grainVarietyName, BigDecimal rksl,
483
-			String lsxzzbdh) {
483
+			String lsxzzbdh,String xyh) {
484 484
 		// TODO Auto-generated method stub
485 485
         
486 486
 		BusinessNoticeReceive businessNoticeReceive = new BusinessNoticeReceive();
@@ -506,6 +506,7 @@ public class ReceiveNoticeServiceImpl implements ReceiveNoticeService {
506 506
         businessNoticeReceive.setGrainKind(grainKind);
507 507
         businessNoticeReceive.setGrainAttribute(3052); //入库 转前 3052商品粮
508 508
         businessNoticeReceive.setHzqlsxzdm(grainAttribute);//入库 转后 
509
+        businessNoticeReceive.setContractNumber(xyh);
509 510
         businessNoticeReceive.setLsxzzbdh(lsxzzbdh);
510 511
         businessNoticeReceive.setNoticeNumber(lsxzzbdh);
511 512
         businessNoticeReceive.setCrktype("1"); //1入 3出