larry 5 anos atrás
pai
commit
6476ec9fde

+ 0 - 6
src/main/java/com/chinaitop/depot/pushs/service/impl/PushServiceImpl.java

@@ -2,7 +2,6 @@ package com.chinaitop.depot.pushs.service.impl;
2 2
 
3 3
 
4 4
 
5
-import java.io.IOException;
6 5
 import java.math.BigDecimal;
7 6
 import java.util.Arrays;
8 7
 import java.util.HashMap;
@@ -15,7 +14,6 @@ import org.slf4j.Logger;
15 14
 import org.slf4j.LoggerFactory;
16 15
 import org.springframework.stereotype.Service;
17 16
 import org.springframework.transaction.annotation.Transactional;
18
-import org.springframework.web.bind.annotation.PostMapping;
19 17
 
20 18
 import com.alibaba.fastjson.JSON;
21 19
 import com.chinaitop.depot.pushs.service.PushsService;
@@ -31,7 +29,6 @@ import com.chinaitop.depot.storage.utils.ParameterUtil;
31 29
 import com.chinaitop.depot.unissoft.model.ResponseEntity;
32 30
 import com.fasterxml.jackson.databind.ObjectMapper;
33 31
 
34
-import io.swagger.annotations.ApiOperation;
35 32
 @Service
36 33
 public class PushServiceImpl implements PushsService{
37 34
 	
@@ -41,8 +38,6 @@ public class PushServiceImpl implements PushsService{
41 38
 	@Resource
42 39
 	private StorageChangeStoragehouseDefaultMapper storageChangeStoragehouseDefaultMapper;
43 40
 	@Resource
44
-	private StorageChangeStoragehouseRopService storageChangeStoragehouseRopService;
45
-	@Resource
46 41
 	private StorageChangeStoragehouseRopMapper storageChangeStoragehouseRopMapper;
47 42
 
48 43
 	@Transactional(rollbackFor = Exception.class)
@@ -109,7 +104,6 @@ public class PushServiceImpl implements PushsService{
109 104
 				StorageChangeStoragehouseRop.setFoodNumber(o.getFoodNumber());   //粮食数量(公斤)
110 105
 				StorageChangeStoragehouseRop.setGoalNumber(bigDecimal);   //目标数量
111 106
 				StorageChangeStoragehouseRop.setOutAfter(o.getOutAfter());  //倒出后保管方式
112
-				StorageChangeStoragehouseRop.setOperStaff(o.getOperStaff());   //操作人员
113 107
 				StorageChangeStoragehouseRop.setOrgId(Integer.parseInt(orgId));   //单位ID
114 108
 				StorageChangeStoragehouseRop.setApplyNo(applyNo);  //申请单号
115 109
 			}

+ 0 - 3
src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseRopMapper.xml

@@ -468,9 +468,6 @@
468 468
       <if test="outAfter != null" >
469 469
         out_after = #{outAfter,jdbcType=VARCHAR},
470 470
       </if>
471
-      <if test="operStaff != null" >
472
-        oper_staff = #{operStaff,jdbcType=VARCHAR},
473
-      </if>
474 471
     </set>
475 472
     where apply_no = #{applyNo,jdbcType=VARCHAR}
476 473
   </update>