fanxw 1 年之前
父節點
當前提交
067e77a3d1

+ 7 - 0
pom.xml

@@ -168,6 +168,13 @@
168 168
 		    <artifactId>fastjson</artifactId>
169 169
 		    <version>1.2.4</version>
170 170
 		</dependency>
171
+		<!-- lombok-->
172
+        <dependency>
173
+            <groupId>org.projectlombok</groupId>
174
+            <artifactId>lombok</artifactId>
175
+            <version>1.18.22</version>
176
+            <scope>provided</scope>
177
+        </dependency>
171 178
 	</dependencies>
172 179
 
173 180
 	<dependencyManagement>

+ 10 - 2
src/main/java/com/chinaitop/depot/storage/controller/StorageChangeStoragehouseRopController.java

@@ -124,10 +124,12 @@ public class StorageChangeStoragehouseRopController {
124 124
 			@ApiImplicitParam(name = "applyTimeB", value = "申请日期B", paramType = "query"),
125 125
 			@ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query"),
126 126
 			@ApiImplicitParam(name = "dcch", value = "导出仓号", paramType = "query"),
127
-			@ApiImplicitParam(name = "dchwh", value = "导出货位号", paramType = "query")
127
+			@ApiImplicitParam(name = "dchwh", value = "导出货位号", paramType = "query"),
128
+			@ApiImplicitParam(name = "drch", value = "导入仓号", paramType = "query"),
129
+			@ApiImplicitParam(name = "drhwh", value = "导入货位号", paramType = "query")
128 130
 	})
129 131
 	public PageInfo<StorageChangeStoragehouseRop> getListRop(Integer pageNum, Integer pageSize, String changehouseNo,
130
-		String applyTimeA, String applyTimeB, Integer orgId, Integer dcch, Integer dchwh) {
132
+		String applyTimeA, String applyTimeB, Integer orgId, Integer dcch, Integer dchwh, Integer drch, Integer drhwh) {
131 133
 		StorageChangeStoragehouseRopExample StorageChangeStoragehouseRopExample = new StorageChangeStoragehouseRopExample();
132 134
 		com.chinaitop.depot.storage.model.StorageChangeStoragehouseRopExample.Criteria Criteria = StorageChangeStoragehouseRopExample.createCriteria();
133 135
 		if (pageNum != null && pageSize != null) {
@@ -155,6 +157,12 @@ public class StorageChangeStoragehouseRopController {
155 157
 		if (null != dchwh) {
156 158
 			Criteria.andOutWarehouseEqualTo(dchwh);
157 159
 		}
160
+		if (null != drch) {
161
+			Criteria.andIntoStorehouseEqualTo(drch);
162
+		}
163
+		if (null != drhwh) {
164
+			Criteria.andIntoWarehouseEqualTo(drhwh);
165
+		}
158 166
 		StorageChangeStoragehouseRopExample.setOrderByClause("create_time asc");
159 167
 		List<StorageChangeStoragehouseRop> list = storageChangeStoragehouseRopService.selectByExample(StorageChangeStoragehouseRopExample);
160 168
 		PageInfo<StorageChangeStoragehouseRop> pageInfo = new PageInfo<StorageChangeStoragehouseRop>(list);

+ 1 - 72
src/main/java/com/chinaitop/depot/storage/mapper/TVentilationOperationMapper.java

@@ -7,91 +7,20 @@ import com.chinaitop.depot.storage.model.TVentilationOperation;
7 7
 import com.chinaitop.depot.storage.model.TVentilationOperationExample;
8 8
 
9 9
 public interface TVentilationOperationMapper {
10
-    /**
11
-     * This method was generated by MyBatis Generator.
12
-     * This method corresponds to the database table t_ventilation_operation
13
-     *
14
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
15
-     */
10
+
16 11
     int countByExample(TVentilationOperationExample example);
17 12
 
18
-    /**
19
-     * This method was generated by MyBatis Generator.
20
-     * This method corresponds to the database table t_ventilation_operation
21
-     *
22
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
23
-     */
24 13
     int deleteByExample(TVentilationOperationExample example);
25 14
 
26
-    /**
27
-     * This method was generated by MyBatis Generator.
28
-     * This method corresponds to the database table t_ventilation_operation
29
-     *
30
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
31
-     */
32 15
     int deleteByPrimaryKey(String id);
33 16
 
34
-    /**
35
-     * This method was generated by MyBatis Generator.
36
-     * This method corresponds to the database table t_ventilation_operation
37
-     *
38
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
39
-     */
40 17
     int insert(TVentilationOperation record);
41 18
 
42
-    /**
43
-     * This method was generated by MyBatis Generator.
44
-     * This method corresponds to the database table t_ventilation_operation
45
-     *
46
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
47
-     */
48
-    int insertSelective(TVentilationOperation record);
49
-
50
-    /**
51
-     * This method was generated by MyBatis Generator.
52
-     * This method corresponds to the database table t_ventilation_operation
53
-     *
54
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
55
-     */
56 19
     List<TVentilationOperation> selectByExample(TVentilationOperationExample example);
57 20
 
58
-    /**
59
-     * This method was generated by MyBatis Generator.
60
-     * This method corresponds to the database table t_ventilation_operation
61
-     *
62
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
63
-     */
64 21
     TVentilationOperation selectByPrimaryKey(String id);
65 22
 
66
-    /**
67
-     * This method was generated by MyBatis Generator.
68
-     * This method corresponds to the database table t_ventilation_operation
69
-     *
70
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
71
-     */
72
-    int updateByExampleSelective(@Param("record") TVentilationOperation record, @Param("example") TVentilationOperationExample example);
73
-
74
-    /**
75
-     * This method was generated by MyBatis Generator.
76
-     * This method corresponds to the database table t_ventilation_operation
77
-     *
78
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
79
-     */
80
-    int updateByExample(@Param("record") TVentilationOperation record, @Param("example") TVentilationOperationExample example);
81
-
82
-    /**
83
-     * This method was generated by MyBatis Generator.
84
-     * This method corresponds to the database table t_ventilation_operation
85
-     *
86
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
87
-     */
88 23
     int updateByPrimaryKeySelective(TVentilationOperation record);
89 24
 
90
-    /**
91
-     * This method was generated by MyBatis Generator.
92
-     * This method corresponds to the database table t_ventilation_operation
93
-     *
94
-     * @mbggenerated Sun Jun 28 17:44:27 CST 2020
95
-     */
96 25
     int updateByPrimaryKey(TVentilationOperation record);
97 26
 }

File diff suppressed because it is too large
+ 37 - 1040
src/main/java/com/chinaitop/depot/storage/mapper/TVentilationOperationMapper.xml


File diff suppressed because it is too large
+ 122 - 2765
src/main/java/com/chinaitop/depot/storage/model/TVentilationOperation.java