ソースを参照

新增倒仓功能点

larry 5 年 前
コミット
6021146f09
共有18 個のファイルを変更した760 個の追加610 個の削除を含む
  1. 245 0
      depot-qualitycheck.iml
  2. 0 13
      src/main/java/com/chinaitop/depot/pushs/service/PushsService.java
  3. 0 71
      src/main/java/com/chinaitop/depot/pushs/service/impl/PushServiceImpl.java
  4. 4 7
      src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseDefaultMapper.java
  5. 42 17
      src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseDefaultMapper.xml
  6. 0 4
      src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseRopMapper.java
  7. 45 109
      src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseRopMapper.xml
  8. 36 0
      src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseDefault.java
  9. 142 2
      src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseDefaultExample.java
  10. 58 40
      src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseRop.java
  11. 176 106
      src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseRopExample.java
  12. 12 6
      src/main/java/com/chinaitop/depot/storage/service/impl/StorageChangeStoragehouseRopServiceImpl.java
  13. 0 98
      src/main/java/com/chinaitop/depot/unissoft/model/ResponseEntity.java
  14. 0 54
      src/main/java/com/chinaitop/depot/unissoft/serviceconfig/CxfConfig.java
  15. 0 15
      src/main/java/com/chinaitop/depot/unissoft/webservice/ContractPassService.java
  16. 0 26
      src/main/java/com/chinaitop/depot/unissoft/webservice/ContractPassServiceImpl.java
  17. 0 16
      src/main/java/com/chinaitop/depot/unissoft/webservice/NoticePassService.java
  18. 0 26
      src/main/java/com/chinaitop/depot/unissoft/webservice/NoticePassServiceImpl.java

+ 245 - 0
depot-qualitycheck.iml

@@ -0,0 +1,245 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+  <component name="FacetManager">
4
+    <facet type="Spring" name="Spring">
5
+      <configuration />
6
+    </facet>
7
+    <facet type="web" name="Web">
8
+      <configuration>
9
+        <webroots />
10
+      </configuration>
11
+    </facet>
12
+  </component>
13
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
14
+    <output url="file://$MODULE_DIR$/target/classes" />
15
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
16
+    <content url="file://$MODULE_DIR$">
17
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
18
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
19
+      <excludeFolder url="file://$MODULE_DIR$/target" />
20
+    </content>
21
+    <orderEntry type="inheritedJdk" />
22
+    <orderEntry type="sourceFolder" forTests="false" />
23
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.0.2.RELEASE" level="project" />
24
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.0.2.RELEASE" level="project" />
25
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.0.2.RELEASE" level="project" />
26
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.0.2.RELEASE" level="project" />
27
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.0.2.RELEASE" level="project" />
28
+    <orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.3" level="project" />
29
+    <orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.3" level="project" />
30
+    <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.10.0" level="project" />
31
+    <orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.10.0" level="project" />
32
+    <orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
33
+    <orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.3.2" level="project" />
34
+    <orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.19" level="project" />
35
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.0.2.RELEASE" level="project" />
36
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.5" level="project" />
37
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.5" level="project" />
38
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.9.5" level="project" />
39
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.0.2.RELEASE" level="project" />
40
+    <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.31" level="project" />
41
+    <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.31" level="project" />
42
+    <orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.31" level="project" />
43
+    <orderEntry type="library" name="Maven: org.hibernate.validator:hibernate-validator:6.0.9.Final" level="project" />
44
+    <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.2.Final" level="project" />
45
+    <orderEntry type="library" name="Maven: org.springframework:spring-web:5.0.6.RELEASE" level="project" />
46
+    <orderEntry type="library" name="Maven: org.springframework:spring-beans:5.0.6.RELEASE" level="project" />
47
+    <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.0.6.RELEASE" level="project" />
48
+    <orderEntry type="library" name="Maven: org.springframework:spring-aop:5.0.6.RELEASE" level="project" />
49
+    <orderEntry type="library" name="Maven: org.springframework:spring-context:5.0.6.RELEASE" level="project" />
50
+    <orderEntry type="library" name="Maven: org.springframework:spring-expression:5.0.6.RELEASE" level="project" />
51
+    <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.1" level="project" />
52
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.0.2.RELEASE" level="project" />
53
+    <orderEntry type="library" name="Maven: com.zaxxer:HikariCP:2.7.9" level="project" />
54
+    <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.0.6.RELEASE" level="project" />
55
+    <orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.3.1" level="project" />
56
+    <orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.5" level="project" />
57
+    <orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.1" level="project" />
58
+    <orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper-spring-boot-starter:1.2.3" level="project" />
59
+    <orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper-spring-boot-autoconfigure:1.2.3" level="project" />
60
+    <orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper:5.1.2" level="project" />
61
+    <orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:1.0" level="project" />
62
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-eureka-server:2.0.0.RELEASE" level="project" />
63
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter:2.0.0.RELEASE" level="project" />
64
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-context:2.0.0.RELEASE" level="project" />
65
+    <orderEntry type="library" name="Maven: org.springframework.security:spring-security-rsa:1.0.5.RELEASE" level="project" />
66
+    <orderEntry type="library" name="Maven: org.bouncycastle:bcpkix-jdk15on:1.56" level="project" />
67
+    <orderEntry type="library" name="Maven: org.bouncycastle:bcprov-jdk15on:1.56" level="project" />
68
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-eureka-server:2.0.0.RELEASE" level="project" />
69
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-actuator:2.0.2.RELEASE" level="project" />
70
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator-autoconfigure:2.0.2.RELEASE" level="project" />
71
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-actuator:2.0.2.RELEASE" level="project" />
72
+    <orderEntry type="library" name="Maven: io.micrometer:micrometer-core:1.0.4" level="project" />
73
+    <orderEntry type="library" name="Maven: org.latencyutils:LatencyUtils:2.0.3" level="project" />
74
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-freemarker:2.0.2.RELEASE" level="project" />
75
+    <orderEntry type="library" name="Maven: org.freemarker:freemarker:2.3.28" level="project" />
76
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-core:2.0.0.RELEASE" level="project" />
77
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-eureka-client:2.0.0.RELEASE" level="project" />
78
+    <orderEntry type="library" name="Maven: com.netflix.eureka:eureka-client:1.9.2" level="project" />
79
+    <orderEntry type="library" scope="RUNTIME" name="Maven: org.codehaus.jettison:jettison:1.3.7" level="project" />
80
+    <orderEntry type="library" scope="RUNTIME" name="Maven: stax:stax-api:1.0.1" level="project" />
81
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-eventbus:0.3.0" level="project" />
82
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-infix:0.3.0" level="project" />
83
+    <orderEntry type="library" scope="RUNTIME" name="Maven: commons-jxpath:commons-jxpath:1.3" level="project" />
84
+    <orderEntry type="library" scope="RUNTIME" name="Maven: joda-time:joda-time:2.9.9" level="project" />
85
+    <orderEntry type="library" scope="RUNTIME" name="Maven: org.antlr:antlr-runtime:3.4" level="project" />
86
+    <orderEntry type="library" scope="RUNTIME" name="Maven: org.antlr:stringtemplate:3.2.1" level="project" />
87
+    <orderEntry type="library" scope="RUNTIME" name="Maven: antlr:antlr:2.7.7" level="project" />
88
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.google.code.gson:gson:2.8.4" level="project" />
89
+    <orderEntry type="library" scope="RUNTIME" name="Maven: org.apache.commons:commons-math:2.2" level="project" />
90
+    <orderEntry type="library" name="Maven: javax.ws.rs:jsr311-api:1.1.1" level="project" />
91
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.servo:servo-core:0.12.21" level="project" />
92
+    <orderEntry type="library" name="Maven: com.sun.jersey:jersey-core:1.19.1" level="project" />
93
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey:jersey-client:1.19.1" level="project" />
94
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.sun.jersey.contribs:jersey-apache-client4:1.19.1" level="project" />
95
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.google.inject:guice:4.1.0" level="project" />
96
+    <orderEntry type="library" scope="RUNTIME" name="Maven: aopalliance:aopalliance:1.0" level="project" />
97
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.github.vlsi.compactmap:compactmap:1.2.1" level="project" />
98
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.github.andrewoma.dexx:dexx-collections:0.2" level="project" />
99
+    <orderEntry type="library" name="Maven: com.sun.jersey:jersey-servlet:1.19.1" level="project" />
100
+    <orderEntry type="library" name="Maven: com.sun.jersey:jersey-server:1.19.1" level="project" />
101
+    <orderEntry type="library" name="Maven: com.netflix.eureka:eureka-core:1.9.2" level="project" />
102
+    <orderEntry type="library" scope="RUNTIME" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.4.1" level="project" />
103
+    <orderEntry type="library" scope="RUNTIME" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
104
+    <orderEntry type="library" name="Maven: com.netflix.archaius:archaius-core:0.7.6" level="project" />
105
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.google.code.findbugs:jsr305:3.0.1" level="project" />
106
+    <orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
107
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.9.5" level="project" />
108
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.9.5" level="project" />
109
+    <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.4" level="project" />
110
+    <orderEntry type="library" name="Maven: com.fasterxml.woodstox:woodstox-core:5.0.3" level="project" />
111
+    <orderEntry type="library" name="Maven: com.thoughtworks.xstream:xstream:1.4.10" level="project" />
112
+    <orderEntry type="library" name="Maven: xmlpull:xmlpull:1.1.3.1" level="project" />
113
+    <orderEntry type="library" name="Maven: xpp3:xpp3_min:1.1.4c" level="project" />
114
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-archaius:2.0.0.RELEASE" level="project" />
115
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-ribbon:2.0.0.RELEASE" level="project" />
116
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-netflix-archaius:2.0.0.RELEASE" level="project" />
117
+    <orderEntry type="library" name="Maven: commons-configuration:commons-configuration:1.8" level="project" />
118
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-netflix-ribbon:2.0.0.RELEASE" level="project" />
119
+    <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon:2.2.5" level="project" />
120
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.ribbon:ribbon-transport:2.2.5" level="project" />
121
+    <orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-contexts:0.4.9" level="project" />
122
+    <orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty-servo:0.4.9" level="project" />
123
+    <orderEntry type="library" scope="RUNTIME" name="Maven: io.reactivex:rxnetty:0.4.9" level="project" />
124
+    <orderEntry type="library" scope="RUNTIME" name="Maven: io.netty:netty-codec-http:4.1.24.Final" level="project" />
125
+    <orderEntry type="library" scope="RUNTIME" name="Maven: io.netty:netty-transport-native-epoll:4.1.24.Final" level="project" />
126
+    <orderEntry type="library" scope="RUNTIME" name="Maven: io.netty:netty-transport-native-unix-common:4.1.24.Final" level="project" />
127
+    <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-core:2.2.5" level="project" />
128
+    <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-httpclient:2.2.5" level="project" />
129
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-commons-util:0.3.0" level="project" />
130
+    <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-loadbalancer:2.2.5" level="project" />
131
+    <orderEntry type="library" scope="RUNTIME" name="Maven: com.netflix.netflix-commons:netflix-statistics:0.1.1" level="project" />
132
+    <orderEntry type="library" name="Maven: io.reactivex:rxjava:1.3.8" level="project" />
133
+    <orderEntry type="library" name="Maven: com.netflix.ribbon:ribbon-eureka:2.2.5" level="project" />
134
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-config:2.0.0.RELEASE" level="project" />
135
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-config-client:2.0.0.RELEASE" level="project" />
136
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0" level="project" />
137
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.5" level="project" />
138
+    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.5" level="project" />
139
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-starter-openfeign:2.0.0.RELEASE" level="project" />
140
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-openfeign-core:2.0.0.RELEASE" level="project" />
141
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:2.0.2.RELEASE" level="project" />
142
+    <orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.13" level="project" />
143
+    <orderEntry type="library" name="Maven: org.springframework.cloud:spring-cloud-commons:2.0.0.RELEASE" level="project" />
144
+    <orderEntry type="library" name="Maven: org.springframework.security:spring-security-crypto:5.0.5.RELEASE" level="project" />
145
+    <orderEntry type="library" name="Maven: io.github.openfeign:feign-core:9.5.1" level="project" />
146
+    <orderEntry type="library" name="Maven: io.github.openfeign:feign-slf4j:9.5.1" level="project" />
147
+    <orderEntry type="library" name="Maven: io.github.openfeign:feign-hystrix:9.5.1" level="project" />
148
+    <orderEntry type="library" name="Maven: com.netflix.hystrix:hystrix-core:1.5.12" level="project" />
149
+    <orderEntry type="library" name="Maven: org.hdrhistogram:HdrHistogram:2.1.9" level="project" />
150
+    <orderEntry type="library" name="Maven: io.github.openfeign:feign-java8:9.5.1" level="project" />
151
+    <orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.7" level="project" />
152
+    <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
153
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-redis:2.0.2.RELEASE" level="project" />
154
+    <orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:2.0.7.RELEASE" level="project" />
155
+    <orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:2.0.7.RELEASE" level="project" />
156
+    <orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:2.0.7.RELEASE" level="project" />
157
+    <orderEntry type="library" name="Maven: org.springframework:spring-tx:5.0.6.RELEASE" level="project" />
158
+    <orderEntry type="library" name="Maven: org.springframework:spring-context-support:5.0.6.RELEASE" level="project" />
159
+    <orderEntry type="library" name="Maven: io.lettuce:lettuce-core:5.0.4.RELEASE" level="project" />
160
+    <orderEntry type="library" name="Maven: io.projectreactor:reactor-core:3.1.7.RELEASE" level="project" />
161
+    <orderEntry type="library" name="Maven: org.reactivestreams:reactive-streams:1.0.2" level="project" />
162
+    <orderEntry type="library" name="Maven: io.netty:netty-common:4.1.24.Final" level="project" />
163
+    <orderEntry type="library" name="Maven: io.netty:netty-transport:4.1.24.Final" level="project" />
164
+    <orderEntry type="library" name="Maven: io.netty:netty-buffer:4.1.24.Final" level="project" />
165
+    <orderEntry type="library" name="Maven: io.netty:netty-resolver:4.1.24.Final" level="project" />
166
+    <orderEntry type="library" name="Maven: io.netty:netty-handler:4.1.24.Final" level="project" />
167
+    <orderEntry type="library" name="Maven: io.netty:netty-codec:4.1.24.Final" level="project" />
168
+    <orderEntry type="library" name="Maven: org.springframework.session:spring-session-data-redis:2.0.3.RELEASE" level="project" />
169
+    <orderEntry type="library" name="Maven: org.springframework.session:spring-session-core:2.0.3.RELEASE" level="project" />
170
+    <orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.0.6.RELEASE" level="project" />
171
+    <orderEntry type="library" name="Maven: com.google.zxing:core:3.3.1" level="project" />
172
+    <orderEntry type="library" name="Maven: com.google.zxing:javase:3.3.1" level="project" />
173
+    <orderEntry type="library" name="Maven: com.beust:jcommander:1.72" level="project" />
174
+    <orderEntry type="library" name="Maven: com.github.jai-imageio:jai-imageio-core:1.3.1" level="project" />
175
+    <orderEntry type="library" name="Maven: io.springfox:springfox-swagger2:2.6.1" level="project" />
176
+    <orderEntry type="library" name="Maven: io.swagger:swagger-annotations:1.5.10" level="project" />
177
+    <orderEntry type="library" name="Maven: io.swagger:swagger-models:1.5.10" level="project" />
178
+    <orderEntry type="library" name="Maven: io.springfox:springfox-spi:2.6.1" level="project" />
179
+    <orderEntry type="library" name="Maven: io.springfox:springfox-core:2.6.1" level="project" />
180
+    <orderEntry type="library" name="Maven: io.springfox:springfox-schema:2.6.1" level="project" />
181
+    <orderEntry type="library" name="Maven: io.springfox:springfox-swagger-common:2.6.1" level="project" />
182
+    <orderEntry type="library" name="Maven: io.springfox:springfox-spring-web:2.6.1" level="project" />
183
+    <orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
184
+    <orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
185
+    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
186
+    <orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE" level="project" />
187
+    <orderEntry type="library" name="Maven: org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE" level="project" />
188
+    <orderEntry type="library" name="Maven: org.mapstruct:mapstruct:1.0.0.Final" level="project" />
189
+    <orderEntry type="library" name="Maven: io.springfox:springfox-swagger-ui:2.6.1" level="project" />
190
+    <orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.46" level="project" />
191
+    <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-starter-test:2.0.2.RELEASE" level="project" />
192
+    <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test:2.0.2.RELEASE" level="project" />
193
+    <orderEntry type="library" scope="TEST" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:2.0.2.RELEASE" level="project" />
194
+    <orderEntry type="library" scope="TEST" name="Maven: com.jayway.jsonpath:json-path:2.4.0" level="project" />
195
+    <orderEntry type="library" scope="TEST" name="Maven: net.minidev:json-smart:2.3" level="project" />
196
+    <orderEntry type="library" scope="TEST" name="Maven: net.minidev:accessors-smart:1.2" level="project" />
197
+    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
198
+    <orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:3.9.1" level="project" />
199
+    <orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:2.15.0" level="project" />
200
+    <orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy:1.7.11" level="project" />
201
+    <orderEntry type="library" scope="TEST" name="Maven: net.bytebuddy:byte-buddy-agent:1.7.11" level="project" />
202
+    <orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:2.6" level="project" />
203
+    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
204
+    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
205
+    <orderEntry type="library" scope="TEST" name="Maven: org.skyscreamer:jsonassert:1.5.0" level="project" />
206
+    <orderEntry type="library" scope="TEST" name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1" level="project" />
207
+    <orderEntry type="library" name="Maven: org.springframework:spring-core:5.0.6.RELEASE" level="project" />
208
+    <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:5.0.6.RELEASE" level="project" />
209
+    <orderEntry type="library" scope="TEST" name="Maven: org.xmlunit:xmlunit-core:2.5.1" level="project" />
210
+    <orderEntry type="library" name="Maven: org.mybatis.generator:mybatis-generator-core:1.3.2" level="project" />
211
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-spring-boot-starter-jaxws:3.2.4" level="project" />
212
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-spring-boot-autoconfigure:3.2.4" level="project" />
213
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-transports-http:3.2.4" level="project" />
214
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-core:3.2.4" level="project" />
215
+    <orderEntry type="library" name="Maven: org.apache.ws.xmlschema:xmlschema-core:2.2.3" level="project" />
216
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-jaxws:3.2.4" level="project" />
217
+    <orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
218
+    <orderEntry type="library" name="Maven: org.ow2.asm:asm:5.2" level="project" />
219
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-soap:3.2.4" level="project" />
220
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-wsdl:3.2.4" level="project" />
221
+    <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.3" level="project" />
222
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-databinding-jaxb:3.2.4" level="project" />
223
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-xml:3.2.4" level="project" />
224
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-simple:3.2.4" level="project" />
225
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-addr:3.2.4" level="project" />
226
+    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-policy:3.2.4" level="project" />
227
+    <orderEntry type="library" name="Maven: org.apache.neethi:neethi:3.1.1" level="project" />
228
+    <orderEntry type="library" name="Maven: javax.validation:validation-api:2.0.1.Final" level="project" />
229
+    <orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web-services:2.0.2.RELEASE" level="project" />
230
+    <orderEntry type="library" name="Maven: org.springframework:spring-oxm:5.0.6.RELEASE" level="project" />
231
+    <orderEntry type="library" name="Maven: org.springframework.ws:spring-ws-core:3.0.1.RELEASE" level="project" />
232
+    <orderEntry type="library" name="Maven: org.springframework.ws:spring-xml:3.0.1.RELEASE" level="project" />
233
+    <orderEntry type="library" name="Maven: commons-io:commons-io:2.5" level="project" />
234
+    <orderEntry type="library" name="Maven: net.sf.json-lib:json-lib:jdk15:2.4" level="project" />
235
+    <orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.8.0" level="project" />
236
+    <orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
237
+    <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.5" level="project" />
238
+    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
239
+    <orderEntry type="library" name="Maven: net.sf.ezmorph:ezmorph:1.0.6" level="project" />
240
+    <orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.4" level="project" />
241
+    <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.6" level="project" />
242
+    <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.9" level="project" />
243
+    <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.11" level="project" />
244
+  </component>
245
+</module>

+ 0 - 13
src/main/java/com/chinaitop/depot/pushs/service/PushsService.java

@@ -1,13 +0,0 @@
1
-package com.chinaitop.depot.pushs.service;
2
-
3
-
4
-public interface PushsService {
5
-
6
-
7
-	//出入库将倒仓通知单记录传回库级平台进行展示
8
-	String updateChangeStorageHouse(String ChangeStorageHouseData);
9
-
10
-	//出入库取库级平台倒仓通知单数据
11
-	String getContractDatas(String orgId, String ids);
12
-
13
-}

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

@@ -1,71 +0,0 @@
1
-package com.chinaitop.depot.pushs.service.impl;
2
-
3
-
4
-import com.alibaba.fastjson.JSON;
5
-import com.chinaitop.depot.pushs.service.PushsService;
6
-import com.chinaitop.depot.storage.mapper.StorageChangeStoragehouseDefaultMapper;
7
-import com.chinaitop.depot.storage.model.StorageChangeStoragehouseRop;
8
-import com.chinaitop.depot.storage.service.StorageChangeStoragehouseRopService;
9
-import com.chinaitop.depot.storage.utils.ParameterUtil;
10
-import com.chinaitop.depot.storage.utils.ResponseEntity;
11
-import com.fasterxml.jackson.databind.ObjectMapper;
12
-import org.slf4j.Logger;
13
-import org.slf4j.LoggerFactory;
14
-import org.springframework.stereotype.Service;
15
-import org.springframework.transaction.annotation.Transactional;
16
-
17
-import javax.annotation.Resource;
18
-import java.io.IOException;
19
-import java.util.Arrays;
20
-import java.util.HashMap;
21
-import java.util.List;
22
-import java.util.Map;
23
-
24
-@Service
25
-public class PushServiceImpl implements PushsService {
26
-	
27
-    final static Logger logger  =  LoggerFactory.getLogger(PushServiceImpl.class );
28
-
29
-
30
-	@Resource
31
-	private StorageChangeStoragehouseDefaultMapper storageChangeStoragehouseDefaultMapper;
32
-
33
-	@Resource
34
-	private StorageChangeStoragehouseRopService storageChangeStoragehouseRopService;
35
-
36
-	@Transactional(rollbackFor = Exception.class)
37
-	@Override
38
-	public String updateChangeStorageHouse(String ChangeStorageHouseData) {
39
-		String retS = "Success";
40
-		try {
41
-			ObjectMapper mapper = new ObjectMapper();
42
-			StorageChangeStoragehouseRop storageChangeStoragehouseRop = (StorageChangeStoragehouseRop) mapper.readValue(ChangeStorageHouseData, StorageChangeStoragehouseRop.class);
43
-			storageChangeStoragehouseRopService.insertChangeStorageHouse(storageChangeStoragehouseRop);
44
-		} catch (IOException e) {
45
-			return retS = "error";
46
-		}
47
-		return retS;
48
-	}
49
-
50
-
51
-
52
-	@Transactional(rollbackFor = Exception.class)
53
-	@Override
54
-	public String getContractDatas(String orgId, String ids) {
55
-		//查出数据
56
-		Map<String,Object> mapCondition = new HashMap<String, Object>();
57
-		if(ParameterUtil.isnotnull(ids)){
58
-			List<String> conList = Arrays.asList(ids.split(","));
59
-			mapCondition.put("ids",conList);
60
-		}
61
-		if(ParameterUtil.isnotnull(orgId)){
62
-			mapCondition.put("orgId",orgId);
63
-		}
64
-		List<Map<String,Object>> mainList =storageChangeStoragehouseDefaultMapper.contractData(mapCondition);
65
-
66
-		Map<String,Object> mapData = new HashMap<String, Object>();
67
-		mapData.put("status", "success");
68
-		mapData.put("mainData", mainList);
69
-		return JSON.toJSONString(ResponseEntity.ok(mapData));
70
-	}
71
-}

+ 4 - 7
src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseDefaultMapper.java

@@ -1,13 +1,12 @@
1 1
 package com.chinaitop.depot.storage.mapper;
2 2
 
3
+import com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefault;
4
+import com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefaultExample;
3 5
 import java.util.List;
4 6
 import java.util.Map;
5 7
 
6 8
 import org.apache.ibatis.annotations.Param;
7 9
 
8
-import com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefault;
9
-import com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefaultExample;
10
-
11 10
 public interface StorageChangeStoragehouseDefaultMapper {
12 11
     int countByExample(StorageChangeStoragehouseDefaultExample example);
13 12
 
@@ -22,8 +21,6 @@ public interface StorageChangeStoragehouseDefaultMapper {
22 21
     int updateByExampleSelective(@Param("record") StorageChangeStoragehouseDefault record, @Param("example") StorageChangeStoragehouseDefaultExample example);
23 22
 
24 23
     int updateByExample(@Param("record") StorageChangeStoragehouseDefault record, @Param("example") StorageChangeStoragehouseDefaultExample example);
25
-
26
-    List<Map<String,Object>> contractData(Map<String, Object> map);
27
-
28
-    List<StorageChangeStoragehouseDefault> selectAllDate(int orgIds);
24
+    
25
+    List<Map<String,Object>> contractData(Map<String,Object> map);
29 26
 }

+ 42 - 17
src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseDefaultMapper.xml

@@ -7,6 +7,7 @@
7 7
     <result column="apply_no" property="applyNo" jdbcType="VARCHAR" />
8 8
     <result column="apply_time" property="applyTime" jdbcType="TIMESTAMP" />
9 9
     <result column="out_storehouse" property="outStorehouse" jdbcType="INTEGER" />
10
+    <result column="out_storehouse_name" property="outStorehouseName" jdbcType="VARCHAR" />
10 11
     <result column="out_warehouse" property="outWarehouse" jdbcType="INTEGER" />
11 12
     <result column="out_warehouse_name" property="outWarehouseName" jdbcType="VARCHAR" />
12 13
     <result column="food_war" property="foodWar" jdbcType="INTEGER" />
@@ -16,6 +17,7 @@
16 17
     <result column="apply_firm" property="applyFirm" jdbcType="VARCHAR" />
17 18
     <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
18 19
     <result column="into_storehouse" property="intoStorehouse" jdbcType="INTEGER" />
20
+    <result column="into_storehouse_name" property="intoStorehouseName" jdbcType="VARCHAR" />
19 21
     <result column="into_warehouse" property="intoWarehouse" jdbcType="INTEGER" />
20 22
     <result column="into_warehouse_name" property="intoWarehouseName" jdbcType="VARCHAR" />
21 23
     <result column="detail_war" property="detailWar" jdbcType="INTEGER" />
@@ -82,9 +84,10 @@
82 84
     </where>
83 85
   </sql>
84 86
   <sql id="Base_Column_List" >
85
-    changehouse_no, org_id, apply_no, apply_time, out_storehouse, out_warehouse, out_warehouse_name, 
86
-    food_war, food_nature, bit_weigh, out_before, apply_firm, create_time, into_storehouse, 
87
-    into_warehouse, into_warehouse_name, detail_war, food_number, out_after, oper_staff
87
+    changehouse_no, org_id, apply_no, apply_time, out_storehouse, out_storehouse_name, 
88
+    out_warehouse, out_warehouse_name, food_war, food_nature, bit_weigh, out_before, 
89
+    apply_firm, create_time, into_storehouse, into_storehouse_name, into_warehouse, into_warehouse_name, 
90
+    detail_war, food_number, out_after, oper_staff
88 91
   </sql>
89 92
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefaultExample" >
90 93
     select
@@ -107,20 +110,22 @@
107 110
     </if>
108 111
   </delete>
109 112
   <insert id="insert" parameterType="com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefault" >
110
-    insert into storage_change_storagehouse_default (changehouse_no, org_id, apply_no,
111
-      apply_time, out_storehouse, out_warehouse, 
112
-      out_warehouse_name, food_war, food_nature, 
113
-      bit_weigh, out_before, apply_firm, 
114
-      create_time, into_storehouse, into_warehouse, 
115
-      into_warehouse_name, detail_war, food_number, 
116
-      out_after, oper_staff)
113
+    insert into storage_change_storagehouse_default (changehouse_no, org_id, apply_no, 
114
+      apply_time, out_storehouse, out_storehouse_name, 
115
+      out_warehouse, out_warehouse_name, food_war, 
116
+      food_nature, bit_weigh, out_before, 
117
+      apply_firm, create_time, into_storehouse, 
118
+      into_storehouse_name, into_warehouse, into_warehouse_name, 
119
+      detail_war, food_number, out_after, 
120
+      oper_staff)
117 121
     values (#{changehouseNo,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{applyNo,jdbcType=VARCHAR}, 
118
-      #{applyTime,jdbcType=TIMESTAMP}, #{outStorehouse,jdbcType=INTEGER}, #{outWarehouse,jdbcType=INTEGER}, 
119
-      #{outWarehouseName,jdbcType=VARCHAR}, #{foodWar,jdbcType=INTEGER}, #{foodNature,jdbcType=VARCHAR}, 
120
-      #{bitWeigh,jdbcType=VARCHAR}, #{outBefore,jdbcType=VARCHAR}, #{applyFirm,jdbcType=VARCHAR}, 
121
-      #{createTime,jdbcType=TIMESTAMP}, #{intoStorehouse,jdbcType=INTEGER}, #{intoWarehouse,jdbcType=INTEGER}, 
122
-      #{intoWarehouseName,jdbcType=VARCHAR}, #{detailWar,jdbcType=INTEGER}, #{foodNumber,jdbcType=DECIMAL}, 
123
-      #{outAfter,jdbcType=VARCHAR}, #{operStaff,jdbcType=VARCHAR})
122
+      #{applyTime,jdbcType=TIMESTAMP}, #{outStorehouse,jdbcType=INTEGER}, #{outStorehouseName,jdbcType=VARCHAR}, 
123
+      #{outWarehouse,jdbcType=INTEGER}, #{outWarehouseName,jdbcType=VARCHAR}, #{foodWar,jdbcType=INTEGER}, 
124
+      #{foodNature,jdbcType=VARCHAR}, #{bitWeigh,jdbcType=VARCHAR}, #{outBefore,jdbcType=VARCHAR}, 
125
+      #{applyFirm,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{intoStorehouse,jdbcType=INTEGER}, 
126
+      #{intoStorehouseName,jdbcType=VARCHAR}, #{intoWarehouse,jdbcType=INTEGER}, #{intoWarehouseName,jdbcType=VARCHAR}, 
127
+      #{detailWar,jdbcType=INTEGER}, #{foodNumber,jdbcType=DECIMAL}, #{outAfter,jdbcType=VARCHAR}, 
128
+      #{operStaff,jdbcType=VARCHAR})
124 129
   </insert>
125 130
   <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefault" >
126 131
     insert into storage_change_storagehouse_default
@@ -140,6 +145,9 @@
140 145
       <if test="outStorehouse != null" >
141 146
         out_storehouse,
142 147
       </if>
148
+      <if test="outStorehouseName != null" >
149
+        out_storehouse_name,
150
+      </if>
143 151
       <if test="outWarehouse != null" >
144 152
         out_warehouse,
145 153
       </if>
@@ -167,6 +175,9 @@
167 175
       <if test="intoStorehouse != null" >
168 176
         into_storehouse,
169 177
       </if>
178
+      <if test="intoStorehouseName != null" >
179
+        into_storehouse_name,
180
+      </if>
170 181
       <if test="intoWarehouse != null" >
171 182
         into_warehouse,
172 183
       </if>
@@ -202,6 +213,9 @@
202 213
       <if test="outStorehouse != null" >
203 214
         #{outStorehouse,jdbcType=INTEGER},
204 215
       </if>
216
+      <if test="outStorehouseName != null" >
217
+        #{outStorehouseName,jdbcType=VARCHAR},
218
+      </if>
205 219
       <if test="outWarehouse != null" >
206 220
         #{outWarehouse,jdbcType=INTEGER},
207 221
       </if>
@@ -229,6 +243,9 @@
229 243
       <if test="intoStorehouse != null" >
230 244
         #{intoStorehouse,jdbcType=INTEGER},
231 245
       </if>
246
+      <if test="intoStorehouseName != null" >
247
+        #{intoStorehouseName,jdbcType=VARCHAR},
248
+      </if>
232 249
       <if test="intoWarehouse != null" >
233 250
         #{intoWarehouse,jdbcType=INTEGER},
234 251
       </if>
@@ -273,6 +290,9 @@
273 290
       <if test="record.outStorehouse != null" >
274 291
         out_storehouse = #{record.outStorehouse,jdbcType=INTEGER},
275 292
       </if>
293
+      <if test="record.outStorehouseName != null" >
294
+        out_storehouse_name = #{record.outStorehouseName,jdbcType=VARCHAR},
295
+      </if>
276 296
       <if test="record.outWarehouse != null" >
277 297
         out_warehouse = #{record.outWarehouse,jdbcType=INTEGER},
278 298
       </if>
@@ -300,6 +320,9 @@
300 320
       <if test="record.intoStorehouse != null" >
301 321
         into_storehouse = #{record.intoStorehouse,jdbcType=INTEGER},
302 322
       </if>
323
+      <if test="record.intoStorehouseName != null" >
324
+        into_storehouse_name = #{record.intoStorehouseName,jdbcType=VARCHAR},
325
+      </if>
303 326
       <if test="record.intoWarehouse != null" >
304 327
         into_warehouse = #{record.intoWarehouse,jdbcType=INTEGER},
305 328
       </if>
@@ -330,6 +353,7 @@
330 353
       apply_no = #{record.applyNo,jdbcType=VARCHAR},
331 354
       apply_time = #{record.applyTime,jdbcType=TIMESTAMP},
332 355
       out_storehouse = #{record.outStorehouse,jdbcType=INTEGER},
356
+      out_storehouse_name = #{record.outStorehouseName,jdbcType=VARCHAR},
333 357
       out_warehouse = #{record.outWarehouse,jdbcType=INTEGER},
334 358
       out_warehouse_name = #{record.outWarehouseName,jdbcType=VARCHAR},
335 359
       food_war = #{record.foodWar,jdbcType=INTEGER},
@@ -339,6 +363,7 @@
339 363
       apply_firm = #{record.applyFirm,jdbcType=VARCHAR},
340 364
       create_time = #{record.createTime,jdbcType=TIMESTAMP},
341 365
       into_storehouse = #{record.intoStorehouse,jdbcType=INTEGER},
366
+      into_storehouse_name = #{record.intoStorehouseName,jdbcType=VARCHAR},
342 367
       into_warehouse = #{record.intoWarehouse,jdbcType=INTEGER},
343 368
       into_warehouse_name = #{record.intoWarehouseName,jdbcType=VARCHAR},
344 369
       detail_war = #{record.detailWar,jdbcType=INTEGER},
@@ -349,7 +374,7 @@
349 374
       <include refid="Update_By_Example_Where_Clause" />
350 375
     </if>
351 376
   </update>
352
-   <select id="contractData" parameterType="java.util.Map" resultType="java.util.HashMap">
377
+  <select id="contractData" parameterType="java.util.Map" resultType="java.util.HashMap">
353 378
     SELECT DISTINCT
354 379
         storagehouse.*
355 380
     FROM

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

@@ -3,8 +3,6 @@ package com.chinaitop.depot.storage.mapper;
3 3
 import com.chinaitop.depot.storage.model.StorageChangeStoragehouseRop;
4 4
 import com.chinaitop.depot.storage.model.StorageChangeStoragehouseRopExample;
5 5
 import java.util.List;
6
-
7
-import com.chinaitop.depot.storage.model.StorageChangeStoragehouseTask;
8 6
 import org.apache.ibatis.annotations.Param;
9 7
 
10 8
 public interface StorageChangeStoragehouseRopMapper {
@@ -21,6 +19,4 @@ public interface StorageChangeStoragehouseRopMapper {
21 19
     int updateByExampleSelective(@Param("record") StorageChangeStoragehouseRop record, @Param("example") StorageChangeStoragehouseRopExample example);
22 20
 
23 21
     int updateByExample(@Param("record") StorageChangeStoragehouseRop record, @Param("example") StorageChangeStoragehouseRopExample example);
24
-
25
-    int updateByPrimaryKeySelective(StorageChangeStoragehouseRop record);
26 22
 }

+ 45 - 109
src/main/java/com/chinaitop/depot/storage/mapper/StorageChangeStoragehouseRopMapper.xml

@@ -11,8 +11,8 @@
11 11
     <result column="out_warehouse" property="outWarehouse" jdbcType="INTEGER" />
12 12
     <result column="out_warehouse_name" property="outWarehouseName" jdbcType="VARCHAR" />
13 13
     <result column="food_war" property="foodWar" jdbcType="INTEGER" />
14
-    <result column="food_nature" property="foodNature" jdbcType="VARCHAR" />
15 14
     <result column="food_status" property="foodStatus" jdbcType="VARCHAR" />
15
+    <result column="food_nature" property="foodNature" jdbcType="VARCHAR" />
16 16
     <result column="bit_weigh" property="bitWeigh" jdbcType="VARCHAR" />
17 17
     <result column="out_before" property="outBefore" jdbcType="VARCHAR" />
18 18
     <result column="apply_firm" property="applyFirm" jdbcType="VARCHAR" />
@@ -22,9 +22,10 @@
22 22
     <result column="into_warehouse" property="intoWarehouse" jdbcType="INTEGER" />
23 23
     <result column="into_warehouse_name" property="intoWarehouseName" jdbcType="VARCHAR" />
24 24
     <result column="detail_war" property="detailWar" jdbcType="INTEGER" />
25
-    <result column="goal_number" property="goalNumber" jdbcType="DECIMAL" />
26 25
     <result column="food_number" property="foodNumber" jdbcType="DECIMAL" />
26
+    <result column="goal_number" property="goalNumber" jdbcType="DECIMAL" />
27 27
     <result column="out_after" property="outAfter" jdbcType="VARCHAR" />
28
+    <result column="oper_staff" property="operStaff" jdbcType="VARCHAR" />
28 29
   </resultMap>
29 30
   <sql id="Example_Where_Clause" >
30 31
     <where >
@@ -86,9 +87,9 @@
86 87
   </sql>
87 88
   <sql id="Base_Column_List" >
88 89
     changehouse_no, org_id, apply_no, apply_time, out_storehouse, out_storehouse_name, 
89
-    out_warehouse, out_warehouse_name, food_war, food_nature, food_status, bit_weigh, 
90
+    out_warehouse, out_warehouse_name, food_war, food_status, food_nature, bit_weigh, 
90 91
     out_before, apply_firm, create_time, into_storehouse, into_storehouse_name, into_warehouse, 
91
-    into_warehouse_name, detail_war, goal_number, food_number, out_after
92
+    into_warehouse_name, detail_war, food_number, goal_number, out_after, oper_staff
92 93
   </sql>
93 94
   <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.storage.model.StorageChangeStoragehouseRopExample" >
94 95
     select
@@ -111,22 +112,24 @@
111 112
     </if>
112 113
   </delete>
113 114
   <insert id="insert" parameterType="com.chinaitop.depot.storage.model.StorageChangeStoragehouseRop" >
114
-    insert into storage_change_storagehouse_rop (changehouse_no, org_id, apply_no,
115
+    insert into storage_change_storagehouse_rop (changehouse_no, org_id, apply_no, 
115 116
       apply_time, out_storehouse, out_storehouse_name, 
116 117
       out_warehouse, out_warehouse_name, food_war, 
117
-      food_nature, food_status, bit_weigh, 
118
+      food_status, food_nature, bit_weigh, 
118 119
       out_before, apply_firm, create_time, 
119 120
       into_storehouse, into_storehouse_name, into_warehouse, 
120
-      into_warehouse_name, detail_war, goal_number, 
121
-      food_number, out_after)
121
+      into_warehouse_name, detail_war, food_number, 
122
+      goal_number, out_after, oper_staff
123
+      )
122 124
     values (#{changehouseNo,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{applyNo,jdbcType=VARCHAR}, 
123 125
       #{applyTime,jdbcType=TIMESTAMP}, #{outStorehouse,jdbcType=INTEGER}, #{outStorehouseName,jdbcType=VARCHAR}, 
124 126
       #{outWarehouse,jdbcType=INTEGER}, #{outWarehouseName,jdbcType=VARCHAR}, #{foodWar,jdbcType=INTEGER}, 
125
-      #{foodNature,jdbcType=VARCHAR}, #{foodStatus,jdbcType=VARCHAR}, #{bitWeigh,jdbcType=VARCHAR}, 
127
+      #{foodStatus,jdbcType=VARCHAR}, #{foodNature,jdbcType=VARCHAR}, #{bitWeigh,jdbcType=VARCHAR}, 
126 128
       #{outBefore,jdbcType=VARCHAR}, #{applyFirm,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
127 129
       #{intoStorehouse,jdbcType=INTEGER}, #{intoStorehouseName,jdbcType=VARCHAR}, #{intoWarehouse,jdbcType=INTEGER}, 
128
-      #{intoWarehouseName,jdbcType=VARCHAR}, #{detailWar,jdbcType=INTEGER}, #{goalNumber,jdbcType=DECIMAL}, 
129
-      #{foodNumber,jdbcType=DECIMAL}, #{outAfter,jdbcType=VARCHAR})
130
+      #{intoWarehouseName,jdbcType=VARCHAR}, #{detailWar,jdbcType=INTEGER}, #{foodNumber,jdbcType=DECIMAL}, 
131
+      #{goalNumber,jdbcType=DECIMAL}, #{outAfter,jdbcType=VARCHAR}, #{operStaff,jdbcType=VARCHAR}
132
+      )
130 133
   </insert>
131 134
   <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.StorageChangeStoragehouseRop" >
132 135
     insert into storage_change_storagehouse_rop
@@ -158,12 +161,12 @@
158 161
       <if test="foodWar != null" >
159 162
         food_war,
160 163
       </if>
161
-      <if test="foodNature != null" >
162
-        food_nature,
163
-      </if>
164 164
       <if test="foodStatus != null" >
165 165
         food_status,
166 166
       </if>
167
+      <if test="foodNature != null" >
168
+        food_nature,
169
+      </if>
167 170
       <if test="bitWeigh != null" >
168 171
         bit_weigh,
169 172
       </if>
@@ -191,15 +194,18 @@
191 194
       <if test="detailWar != null" >
192 195
         detail_war,
193 196
       </if>
194
-      <if test="goalNumber != null" >
195
-        goal_number,
196
-      </if>
197 197
       <if test="foodNumber != null" >
198 198
         food_number,
199 199
       </if>
200
+      <if test="goalNumber != null" >
201
+        goal_number,
202
+      </if>
200 203
       <if test="outAfter != null" >
201 204
         out_after,
202 205
       </if>
206
+      <if test="operStaff != null" >
207
+        oper_staff,
208
+      </if>
203 209
     </trim>
204 210
     <trim prefix="values (" suffix=")" suffixOverrides="," >
205 211
       <if test="changehouseNo != null" >
@@ -229,12 +235,12 @@
229 235
       <if test="foodWar != null" >
230 236
         #{foodWar,jdbcType=INTEGER},
231 237
       </if>
232
-      <if test="foodNature != null" >
233
-        #{foodNature,jdbcType=VARCHAR},
234
-      </if>
235 238
       <if test="foodStatus != null" >
236 239
         #{foodStatus,jdbcType=VARCHAR},
237 240
       </if>
241
+      <if test="foodNature != null" >
242
+        #{foodNature,jdbcType=VARCHAR},
243
+      </if>
238 244
       <if test="bitWeigh != null" >
239 245
         #{bitWeigh,jdbcType=VARCHAR},
240 246
       </if>
@@ -262,15 +268,18 @@
262 268
       <if test="detailWar != null" >
263 269
         #{detailWar,jdbcType=INTEGER},
264 270
       </if>
265
-      <if test="goalNumber != null" >
266
-        #{goalNumber,jdbcType=DECIMAL},
267
-      </if>
268 271
       <if test="foodNumber != null" >
269 272
         #{foodNumber,jdbcType=DECIMAL},
270 273
       </if>
274
+      <if test="goalNumber != null" >
275
+        #{goalNumber,jdbcType=DECIMAL},
276
+      </if>
271 277
       <if test="outAfter != null" >
272 278
         #{outAfter,jdbcType=VARCHAR},
273 279
       </if>
280
+      <if test="operStaff != null" >
281
+        #{operStaff,jdbcType=VARCHAR},
282
+      </if>
274 283
     </trim>
275 284
   </insert>
276 285
   <select id="countByExample" parameterType="com.chinaitop.depot.storage.model.StorageChangeStoragehouseRopExample" resultType="java.lang.Integer" >
@@ -309,12 +318,12 @@
309 318
       <if test="record.foodWar != null" >
310 319
         food_war = #{record.foodWar,jdbcType=INTEGER},
311 320
       </if>
312
-      <if test="record.foodNature != null" >
313
-        food_nature = #{record.foodNature,jdbcType=VARCHAR},
314
-      </if>
315 321
       <if test="record.foodStatus != null" >
316 322
         food_status = #{record.foodStatus,jdbcType=VARCHAR},
317 323
       </if>
324
+      <if test="record.foodNature != null" >
325
+        food_nature = #{record.foodNature,jdbcType=VARCHAR},
326
+      </if>
318 327
       <if test="record.bitWeigh != null" >
319 328
         bit_weigh = #{record.bitWeigh,jdbcType=VARCHAR},
320 329
       </if>
@@ -342,15 +351,18 @@
342 351
       <if test="record.detailWar != null" >
343 352
         detail_war = #{record.detailWar,jdbcType=INTEGER},
344 353
       </if>
345
-      <if test="record.goalNumber != null" >
346
-        goal_number = #{record.goalNumber,jdbcType=DECIMAL},
347
-      </if>
348 354
       <if test="record.foodNumber != null" >
349 355
         food_number = #{record.foodNumber,jdbcType=DECIMAL},
350 356
       </if>
357
+      <if test="record.goalNumber != null" >
358
+        goal_number = #{record.goalNumber,jdbcType=DECIMAL},
359
+      </if>
351 360
       <if test="record.outAfter != null" >
352 361
         out_after = #{record.outAfter,jdbcType=VARCHAR},
353 362
       </if>
363
+      <if test="record.operStaff != null" >
364
+        oper_staff = #{record.operStaff,jdbcType=VARCHAR},
365
+      </if>
354 366
     </set>
355 367
     <if test="_parameter != null" >
356 368
       <include refid="Update_By_Example_Where_Clause" />
@@ -367,8 +379,8 @@
367 379
       out_warehouse = #{record.outWarehouse,jdbcType=INTEGER},
368 380
       out_warehouse_name = #{record.outWarehouseName,jdbcType=VARCHAR},
369 381
       food_war = #{record.foodWar,jdbcType=INTEGER},
370
-      food_nature = #{record.foodNature,jdbcType=VARCHAR},
371 382
       food_status = #{record.foodStatus,jdbcType=VARCHAR},
383
+      food_nature = #{record.foodNature,jdbcType=VARCHAR},
372 384
       bit_weigh = #{record.bitWeigh,jdbcType=VARCHAR},
373 385
       out_before = #{record.outBefore,jdbcType=VARCHAR},
374 386
       apply_firm = #{record.applyFirm,jdbcType=VARCHAR},
@@ -378,86 +390,10 @@
378 390
       into_warehouse = #{record.intoWarehouse,jdbcType=INTEGER},
379 391
       into_warehouse_name = #{record.intoWarehouseName,jdbcType=VARCHAR},
380 392
       detail_war = #{record.detailWar,jdbcType=INTEGER},
381
-      goal_number = #{record.goalNumber,jdbcType=DECIMAL},
382 393
       food_number = #{record.foodNumber,jdbcType=DECIMAL},
383
-      out_after = #{record.outAfter,jdbcType=VARCHAR}
384
-    <if test="_parameter != null" >
385
-      <include refid="Update_By_Example_Where_Clause" />
386
-    </if>
387
-  </update>
388
-  <update id="updateByPrimaryKeySelective" parameterType="map" >
389
-    update storage_change_storagehouse_rop
390
-    <set >
391
-      <if test="record.changehouseNo != null" >
392
-        changehouse_no = #{record.changehouseNo,jdbcType=VARCHAR},
393
-      </if>
394
-      <if test="record.orgId != null" >
395
-        org_id = #{record.orgId,jdbcType=INTEGER},
396
-      </if>
397
-      <if test="record.applyNo != null" >
398
-        apply_no = #{record.applyNo,jdbcType=VARCHAR},
399
-      </if>
400
-      <if test="record.applyTime != null" >
401
-        apply_time = #{record.applyTime,jdbcType=TIMESTAMP},
402
-      </if>
403
-      <if test="record.outStorehouse != null" >
404
-        out_storehouse = #{record.outStorehouse,jdbcType=INTEGER},
405
-      </if>
406
-      <if test="record.outStorehouseName != null" >
407
-        out_storehouse_name = #{record.outStorehouseName,jdbcType=VARCHAR},
408
-      </if>
409
-      <if test="record.outWarehouse != null" >
410
-        out_warehouse = #{record.outWarehouse,jdbcType=INTEGER},
411
-      </if>
412
-      <if test="record.outWarehouseName != null" >
413
-        out_warehouse_name = #{record.outWarehouseName,jdbcType=VARCHAR},
414
-      </if>
415
-      <if test="record.foodWar != null" >
416
-        food_war = #{record.foodWar,jdbcType=INTEGER},
417
-      </if>
418
-      <if test="record.foodNature != null" >
419
-        food_nature = #{record.foodNature,jdbcType=VARCHAR},
420
-      </if>
421
-      <if test="record.foodStatus != null" >
422
-        food_status = #{record.foodStatus,jdbcType=VARCHAR},
423
-      </if>
424
-      <if test="record.bitWeigh != null" >
425
-        bit_weigh = #{record.bitWeigh,jdbcType=VARCHAR},
426
-      </if>
427
-      <if test="record.outBefore != null" >
428
-        out_before = #{record.outBefore,jdbcType=VARCHAR},
429
-      </if>
430
-      <if test="record.applyFirm != null" >
431
-        apply_firm = #{record.applyFirm,jdbcType=VARCHAR},
432
-      </if>
433
-      <if test="record.createTime != null" >
434
-        create_time = #{record.createTime,jdbcType=TIMESTAMP},
435
-      </if>
436
-      <if test="record.intoStorehouse != null" >
437
-        into_storehouse = #{record.intoStorehouse,jdbcType=INTEGER},
438
-      </if>
439
-      <if test="record.intoStorehouseName != null" >
440
-        into_storehouse_name = #{record.intoStorehouseName,jdbcType=VARCHAR},
441
-      </if>
442
-      <if test="record.intoWarehouse != null" >
443
-        into_warehouse = #{record.intoWarehouse,jdbcType=INTEGER},
444
-      </if>
445
-      <if test="record.intoWarehouseName != null" >
446
-        into_warehouse_name = #{record.intoWarehouseName,jdbcType=VARCHAR},
447
-      </if>
448
-      <if test="record.detailWar != null" >
449
-        detail_war = #{record.detailWar,jdbcType=INTEGER},
450
-      </if>
451
-      <if test="record.goalNumber != null" >
452
-        goal_number = #{record.goalNumber,jdbcType=DECIMAL},
453
-      </if>
454
-      <if test="record.foodNumber != null" >
455
-        food_number = #{record.foodNumber,jdbcType=DECIMAL},
456
-      </if>
457
-      <if test="record.outAfter != null" >
458
-        out_after = #{record.outAfter,jdbcType=VARCHAR},
459
-      </if>
460
-    </set>
394
+      goal_number = #{record.goalNumber,jdbcType=DECIMAL},
395
+      out_after = #{record.outAfter,jdbcType=VARCHAR},
396
+      oper_staff = #{record.operStaff,jdbcType=VARCHAR}
461 397
     <if test="_parameter != null" >
462 398
       <include refid="Update_By_Example_Where_Clause" />
463 399
     </if>

+ 36 - 0
src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseDefault.java

@@ -16,6 +16,8 @@ public class StorageChangeStoragehouseDefault {
16 16
 
17 17
     private Integer outStorehouse;
18 18
 
19
+    private String outStorehouseName;
20
+
19 21
     private Integer outWarehouse;
20 22
 
21 23
     private String outWarehouseName;
@@ -34,6 +36,8 @@ public class StorageChangeStoragehouseDefault {
34 36
 
35 37
     private Integer intoStorehouse;
36 38
 
39
+    private String intoStorehouseName;
40
+
37 41
     private Integer intoWarehouse;
38 42
 
39 43
     private String intoWarehouseName;
@@ -127,6 +131,22 @@ public class StorageChangeStoragehouseDefault {
127 131
     }
128 132
 
129 133
     /**
134
+     * 倒出仓房名称
135
+     * @return out_storehouse_name 倒出仓房名称
136
+     */
137
+    public String getOutStorehouseName() {
138
+        return outStorehouseName;
139
+    }
140
+
141
+    /**
142
+     * 倒出仓房名称
143
+     * @param outStorehouseName 倒出仓房名称
144
+     */
145
+    public void setOutStorehouseName(String outStorehouseName) {
146
+        this.outStorehouseName = outStorehouseName == null ? null : outStorehouseName.trim();
147
+    }
148
+
149
+    /**
130 150
      * 倒出货位
131 151
      * @return out_warehouse 倒出货位
132 152
      */
@@ -271,6 +291,22 @@ public class StorageChangeStoragehouseDefault {
271 291
     }
272 292
 
273 293
     /**
294
+     * 倒入仓房名称
295
+     * @return into_storehouse_name 倒入仓房名称
296
+     */
297
+    public String getIntoStorehouseName() {
298
+        return intoStorehouseName;
299
+    }
300
+
301
+    /**
302
+     * 倒入仓房名称
303
+     * @param intoStorehouseName 倒入仓房名称
304
+     */
305
+    public void setIntoStorehouseName(String intoStorehouseName) {
306
+        this.intoStorehouseName = intoStorehouseName == null ? null : intoStorehouseName.trim();
307
+    }
308
+
309
+    /**
274 310
      * 倒入货位
275 311
      * @return into_warehouse 倒入货位
276 312
      */

+ 142 - 2
src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseDefaultExample.java

@@ -75,7 +75,7 @@ public class StorageChangeStoragehouseDefaultExample {
75 75
     }
76 76
 
77 77
     /**
78
-     * storage_change_storagehouse_default 2020-04-10
78
+     * storage_change_storagehouse_default 2020-06-26
79 79
      */
80 80
     protected abstract static class GeneratedCriteria {
81 81
         protected List<Criterion> criteria;
@@ -438,6 +438,76 @@ public class StorageChangeStoragehouseDefaultExample {
438 438
             return (Criteria) this;
439 439
         }
440 440
 
441
+        public Criteria andOutStorehouseNameIsNull() {
442
+            addCriterion("out_storehouse_name is null");
443
+            return (Criteria) this;
444
+        }
445
+
446
+        public Criteria andOutStorehouseNameIsNotNull() {
447
+            addCriterion("out_storehouse_name is not null");
448
+            return (Criteria) this;
449
+        }
450
+
451
+        public Criteria andOutStorehouseNameEqualTo(String value) {
452
+            addCriterion("out_storehouse_name =", value, "outStorehouseName");
453
+            return (Criteria) this;
454
+        }
455
+
456
+        public Criteria andOutStorehouseNameNotEqualTo(String value) {
457
+            addCriterion("out_storehouse_name <>", value, "outStorehouseName");
458
+            return (Criteria) this;
459
+        }
460
+
461
+        public Criteria andOutStorehouseNameGreaterThan(String value) {
462
+            addCriterion("out_storehouse_name >", value, "outStorehouseName");
463
+            return (Criteria) this;
464
+        }
465
+
466
+        public Criteria andOutStorehouseNameGreaterThanOrEqualTo(String value) {
467
+            addCriterion("out_storehouse_name >=", value, "outStorehouseName");
468
+            return (Criteria) this;
469
+        }
470
+
471
+        public Criteria andOutStorehouseNameLessThan(String value) {
472
+            addCriterion("out_storehouse_name <", value, "outStorehouseName");
473
+            return (Criteria) this;
474
+        }
475
+
476
+        public Criteria andOutStorehouseNameLessThanOrEqualTo(String value) {
477
+            addCriterion("out_storehouse_name <=", value, "outStorehouseName");
478
+            return (Criteria) this;
479
+        }
480
+
481
+        public Criteria andOutStorehouseNameLike(String value) {
482
+            addCriterion("out_storehouse_name like", value, "outStorehouseName");
483
+            return (Criteria) this;
484
+        }
485
+
486
+        public Criteria andOutStorehouseNameNotLike(String value) {
487
+            addCriterion("out_storehouse_name not like", value, "outStorehouseName");
488
+            return (Criteria) this;
489
+        }
490
+
491
+        public Criteria andOutStorehouseNameIn(List<String> values) {
492
+            addCriterion("out_storehouse_name in", values, "outStorehouseName");
493
+            return (Criteria) this;
494
+        }
495
+
496
+        public Criteria andOutStorehouseNameNotIn(List<String> values) {
497
+            addCriterion("out_storehouse_name not in", values, "outStorehouseName");
498
+            return (Criteria) this;
499
+        }
500
+
501
+        public Criteria andOutStorehouseNameBetween(String value1, String value2) {
502
+            addCriterion("out_storehouse_name between", value1, value2, "outStorehouseName");
503
+            return (Criteria) this;
504
+        }
505
+
506
+        public Criteria andOutStorehouseNameNotBetween(String value1, String value2) {
507
+            addCriterion("out_storehouse_name not between", value1, value2, "outStorehouseName");
508
+            return (Criteria) this;
509
+        }
510
+
441 511
         public Criteria andOutWarehouseIsNull() {
442 512
             addCriterion("out_warehouse is null");
443 513
             return (Criteria) this;
@@ -1028,6 +1098,76 @@ public class StorageChangeStoragehouseDefaultExample {
1028 1098
             return (Criteria) this;
1029 1099
         }
1030 1100
 
1101
+        public Criteria andIntoStorehouseNameIsNull() {
1102
+            addCriterion("into_storehouse_name is null");
1103
+            return (Criteria) this;
1104
+        }
1105
+
1106
+        public Criteria andIntoStorehouseNameIsNotNull() {
1107
+            addCriterion("into_storehouse_name is not null");
1108
+            return (Criteria) this;
1109
+        }
1110
+
1111
+        public Criteria andIntoStorehouseNameEqualTo(String value) {
1112
+            addCriterion("into_storehouse_name =", value, "intoStorehouseName");
1113
+            return (Criteria) this;
1114
+        }
1115
+
1116
+        public Criteria andIntoStorehouseNameNotEqualTo(String value) {
1117
+            addCriterion("into_storehouse_name <>", value, "intoStorehouseName");
1118
+            return (Criteria) this;
1119
+        }
1120
+
1121
+        public Criteria andIntoStorehouseNameGreaterThan(String value) {
1122
+            addCriterion("into_storehouse_name >", value, "intoStorehouseName");
1123
+            return (Criteria) this;
1124
+        }
1125
+
1126
+        public Criteria andIntoStorehouseNameGreaterThanOrEqualTo(String value) {
1127
+            addCriterion("into_storehouse_name >=", value, "intoStorehouseName");
1128
+            return (Criteria) this;
1129
+        }
1130
+
1131
+        public Criteria andIntoStorehouseNameLessThan(String value) {
1132
+            addCriterion("into_storehouse_name <", value, "intoStorehouseName");
1133
+            return (Criteria) this;
1134
+        }
1135
+
1136
+        public Criteria andIntoStorehouseNameLessThanOrEqualTo(String value) {
1137
+            addCriterion("into_storehouse_name <=", value, "intoStorehouseName");
1138
+            return (Criteria) this;
1139
+        }
1140
+
1141
+        public Criteria andIntoStorehouseNameLike(String value) {
1142
+            addCriterion("into_storehouse_name like", value, "intoStorehouseName");
1143
+            return (Criteria) this;
1144
+        }
1145
+
1146
+        public Criteria andIntoStorehouseNameNotLike(String value) {
1147
+            addCriterion("into_storehouse_name not like", value, "intoStorehouseName");
1148
+            return (Criteria) this;
1149
+        }
1150
+
1151
+        public Criteria andIntoStorehouseNameIn(List<String> values) {
1152
+            addCriterion("into_storehouse_name in", values, "intoStorehouseName");
1153
+            return (Criteria) this;
1154
+        }
1155
+
1156
+        public Criteria andIntoStorehouseNameNotIn(List<String> values) {
1157
+            addCriterion("into_storehouse_name not in", values, "intoStorehouseName");
1158
+            return (Criteria) this;
1159
+        }
1160
+
1161
+        public Criteria andIntoStorehouseNameBetween(String value1, String value2) {
1162
+            addCriterion("into_storehouse_name between", value1, value2, "intoStorehouseName");
1163
+            return (Criteria) this;
1164
+        }
1165
+
1166
+        public Criteria andIntoStorehouseNameNotBetween(String value1, String value2) {
1167
+            addCriterion("into_storehouse_name not between", value1, value2, "intoStorehouseName");
1168
+            return (Criteria) this;
1169
+        }
1170
+
1031 1171
         public Criteria andIntoWarehouseIsNull() {
1032 1172
             addCriterion("into_warehouse is null");
1033 1173
             return (Criteria) this;
@@ -1430,7 +1570,7 @@ public class StorageChangeStoragehouseDefaultExample {
1430 1570
     }
1431 1571
 
1432 1572
     /**
1433
-     * storage_change_storagehouse_default 2020-04-10
1573
+     * storage_change_storagehouse_default 2020-06-26
1434 1574
      */
1435 1575
     public static class Criterion {
1436 1576
         private String condition;

+ 58 - 40
src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseRop.java

@@ -24,10 +24,10 @@ public class StorageChangeStoragehouseRop {
24 24
 
25 25
     private Integer foodWar;
26 26
 
27
-    private String foodNature;
28
-
29 27
     private String foodStatus;
30 28
 
29
+    private String foodNature;
30
+
31 31
     private String bitWeigh;
32 32
 
33 33
     private String outBefore;
@@ -46,23 +46,25 @@ public class StorageChangeStoragehouseRop {
46 46
 
47 47
     private Integer detailWar;
48 48
 
49
-    private BigDecimal goalNumber;
50
-
51 49
     private BigDecimal foodNumber;
52 50
 
51
+    private BigDecimal goalNumber;
52
+
53 53
     private String outAfter;
54 54
 
55
+    private String operStaff;
56
+
55 57
     /**
56
-     * 通知单编号
57
-     * @return changehouse_no 通知单编号
58
+     * 倒仓通知单编号
59
+     * @return changehouse_no 倒仓通知单编号
58 60
      */
59 61
     public String getChangehouseNo() {
60 62
         return changehouseNo;
61 63
     }
62 64
 
63 65
     /**
64
-     * 通知单编号
65
-     * @param changehouseNo 通知单编号
66
+     * 倒仓通知单编号
67
+     * @param changehouseNo 倒仓通知单编号
66 68
      */
67 69
     public void setChangehouseNo(String changehouseNo) {
68 70
         this.changehouseNo = changehouseNo == null ? null : changehouseNo.trim();
@@ -197,22 +199,6 @@ public class StorageChangeStoragehouseRop {
197 199
     }
198 200
 
199 201
     /**
200
-     * 粮食性质
201
-     * @return food_nature 粮食性质
202
-     */
203
-    public String getFoodNature() {
204
-        return foodNature;
205
-    }
206
-
207
-    /**
208
-     * 粮食性质
209
-     * @param foodNature 粮食性质
210
-     */
211
-    public void setFoodNature(String foodNature) {
212
-        this.foodNature = foodNature == null ? null : foodNature.trim();
213
-    }
214
-
215
-    /**
216 202
      * 完成状态
217 203
      * @return food_status 完成状态
218 204
      */
@@ -229,6 +215,22 @@ public class StorageChangeStoragehouseRop {
229 215
     }
230 216
 
231 217
     /**
218
+     * 粮食性质
219
+     * @return food_nature 粮食性质
220
+     */
221
+    public String getFoodNature() {
222
+        return foodNature;
223
+    }
224
+
225
+    /**
226
+     * 粮食性质
227
+     * @param foodNature 粮食性质
228
+     */
229
+    public void setFoodNature(String foodNature) {
230
+        this.foodNature = foodNature == null ? null : foodNature.trim();
231
+    }
232
+
233
+    /**
232 234
      * 是否称重
233 235
      * @return bit_weigh 是否称重
234 236
      */
@@ -373,35 +375,35 @@ public class StorageChangeStoragehouseRop {
373 375
     }
374 376
 
375 377
     /**
376
-     * 目标数量
377
-     * @return goal_number 目标数量
378
+     * 粮食数量(公斤)
379
+     * @return food_number 粮食数量(公斤)
378 380
      */
379
-    public BigDecimal getGoalNumber() {
380
-        return goalNumber;
381
+    public BigDecimal getFoodNumber() {
382
+        return foodNumber;
381 383
     }
382 384
 
383 385
     /**
384
-     * 目标数量
385
-     * @param goalNumber 目标数量
386
+     * 粮食数量(公斤)
387
+     * @param foodNumber 粮食数量(公斤)
386 388
      */
387
-    public void setGoalNumber(BigDecimal goalNumber) {
388
-        this.goalNumber = goalNumber;
389
+    public void setFoodNumber(BigDecimal foodNumber) {
390
+        this.foodNumber = foodNumber;
389 391
     }
390 392
 
391 393
     /**
392
-     * 完成数量(公斤)
393
-     * @return food_number 完成数量(公斤)
394
+     * 目标数量
395
+     * @return goal_number 目标数量
394 396
      */
395
-    public BigDecimal getFoodNumber() {
396
-        return foodNumber;
397
+    public BigDecimal getGoalNumber() {
398
+        return goalNumber;
397 399
     }
398 400
 
399 401
     /**
400
-     * 完成数量(公斤)
401
-     * @param foodNumber 完成数量(公斤)
402
+     * 目标数量
403
+     * @param goalNumber 目标数量
402 404
      */
403
-    public void setFoodNumber(BigDecimal foodNumber) {
404
-        this.foodNumber = foodNumber;
405
+    public void setGoalNumber(BigDecimal goalNumber) {
406
+        this.goalNumber = goalNumber;
405 407
     }
406 408
 
407 409
     /**
@@ -419,4 +421,20 @@ public class StorageChangeStoragehouseRop {
419 421
     public void setOutAfter(String outAfter) {
420 422
         this.outAfter = outAfter == null ? null : outAfter.trim();
421 423
     }
424
+
425
+    /**
426
+     * 操作人员
427
+     * @return oper_staff 操作人员
428
+     */
429
+    public String getOperStaff() {
430
+        return operStaff;
431
+    }
432
+
433
+    /**
434
+     * 操作人员
435
+     * @param operStaff 操作人员
436
+     */
437
+    public void setOperStaff(String operStaff) {
438
+        this.operStaff = operStaff == null ? null : operStaff.trim();
439
+    }
422 440
 }

+ 176 - 106
src/main/java/com/chinaitop/depot/storage/model/StorageChangeStoragehouseRopExample.java

@@ -75,7 +75,7 @@ public class StorageChangeStoragehouseRopExample {
75 75
     }
76 76
 
77 77
     /**
78
-     * storage_change_storagehouse_rop 2020-01-16
78
+     * storage_change_storagehouse_rop 2020-06-26
79 79
      */
80 80
     protected abstract static class GeneratedCriteria {
81 81
         protected List<Criterion> criteria;
@@ -698,143 +698,143 @@ public class StorageChangeStoragehouseRopExample {
698 698
             return (Criteria) this;
699 699
         }
700 700
 
701
-        public Criteria andFoodNatureIsNull() {
702
-            addCriterion("food_nature is null");
701
+        public Criteria andFoodStatusIsNull() {
702
+            addCriterion("food_status is null");
703 703
             return (Criteria) this;
704 704
         }
705 705
 
706
-        public Criteria andFoodNatureIsNotNull() {
707
-            addCriterion("food_nature is not null");
706
+        public Criteria andFoodStatusIsNotNull() {
707
+            addCriterion("food_status is not null");
708 708
             return (Criteria) this;
709 709
         }
710 710
 
711
-        public Criteria andFoodNatureEqualTo(String value) {
712
-            addCriterion("food_nature =", value, "foodNature");
711
+        public Criteria andFoodStatusEqualTo(String value) {
712
+            addCriterion("food_status =", value, "foodStatus");
713 713
             return (Criteria) this;
714 714
         }
715 715
 
716
-        public Criteria andFoodNatureNotEqualTo(String value) {
717
-            addCriterion("food_nature <>", value, "foodNature");
716
+        public Criteria andFoodStatusNotEqualTo(String value) {
717
+            addCriterion("food_status <>", value, "foodStatus");
718 718
             return (Criteria) this;
719 719
         }
720 720
 
721
-        public Criteria andFoodNatureGreaterThan(String value) {
722
-            addCriterion("food_nature >", value, "foodNature");
721
+        public Criteria andFoodStatusGreaterThan(String value) {
722
+            addCriterion("food_status >", value, "foodStatus");
723 723
             return (Criteria) this;
724 724
         }
725 725
 
726
-        public Criteria andFoodNatureGreaterThanOrEqualTo(String value) {
727
-            addCriterion("food_nature >=", value, "foodNature");
726
+        public Criteria andFoodStatusGreaterThanOrEqualTo(String value) {
727
+            addCriterion("food_status >=", value, "foodStatus");
728 728
             return (Criteria) this;
729 729
         }
730 730
 
731
-        public Criteria andFoodNatureLessThan(String value) {
732
-            addCriterion("food_nature <", value, "foodNature");
731
+        public Criteria andFoodStatusLessThan(String value) {
732
+            addCriterion("food_status <", value, "foodStatus");
733 733
             return (Criteria) this;
734 734
         }
735 735
 
736
-        public Criteria andFoodNatureLessThanOrEqualTo(String value) {
737
-            addCriterion("food_nature <=", value, "foodNature");
736
+        public Criteria andFoodStatusLessThanOrEqualTo(String value) {
737
+            addCriterion("food_status <=", value, "foodStatus");
738 738
             return (Criteria) this;
739 739
         }
740 740
 
741
-        public Criteria andFoodNatureLike(String value) {
742
-            addCriterion("food_nature like", value, "foodNature");
741
+        public Criteria andFoodStatusLike(String value) {
742
+            addCriterion("food_status like", value, "foodStatus");
743 743
             return (Criteria) this;
744 744
         }
745 745
 
746
-        public Criteria andFoodNatureNotLike(String value) {
747
-            addCriterion("food_nature not like", value, "foodNature");
746
+        public Criteria andFoodStatusNotLike(String value) {
747
+            addCriterion("food_status not like", value, "foodStatus");
748 748
             return (Criteria) this;
749 749
         }
750 750
 
751
-        public Criteria andFoodNatureIn(List<String> values) {
752
-            addCriterion("food_nature in", values, "foodNature");
751
+        public Criteria andFoodStatusIn(List<String> values) {
752
+            addCriterion("food_status in", values, "foodStatus");
753 753
             return (Criteria) this;
754 754
         }
755 755
 
756
-        public Criteria andFoodNatureNotIn(List<String> values) {
757
-            addCriterion("food_nature not in", values, "foodNature");
756
+        public Criteria andFoodStatusNotIn(List<String> values) {
757
+            addCriterion("food_status not in", values, "foodStatus");
758 758
             return (Criteria) this;
759 759
         }
760 760
 
761
-        public Criteria andFoodNatureBetween(String value1, String value2) {
762
-            addCriterion("food_nature between", value1, value2, "foodNature");
761
+        public Criteria andFoodStatusBetween(String value1, String value2) {
762
+            addCriterion("food_status between", value1, value2, "foodStatus");
763 763
             return (Criteria) this;
764 764
         }
765 765
 
766
-        public Criteria andFoodNatureNotBetween(String value1, String value2) {
767
-            addCriterion("food_nature not between", value1, value2, "foodNature");
766
+        public Criteria andFoodStatusNotBetween(String value1, String value2) {
767
+            addCriterion("food_status not between", value1, value2, "foodStatus");
768 768
             return (Criteria) this;
769 769
         }
770 770
 
771
-        public Criteria andFoodStatusIsNull() {
772
-            addCriterion("food_status is null");
771
+        public Criteria andFoodNatureIsNull() {
772
+            addCriterion("food_nature is null");
773 773
             return (Criteria) this;
774 774
         }
775 775
 
776
-        public Criteria andFoodStatusIsNotNull() {
777
-            addCriterion("food_status is not null");
776
+        public Criteria andFoodNatureIsNotNull() {
777
+            addCriterion("food_nature is not null");
778 778
             return (Criteria) this;
779 779
         }
780 780
 
781
-        public Criteria andFoodStatusEqualTo(String value) {
782
-            addCriterion("food_status =", value, "foodStatus");
781
+        public Criteria andFoodNatureEqualTo(String value) {
782
+            addCriterion("food_nature =", value, "foodNature");
783 783
             return (Criteria) this;
784 784
         }
785 785
 
786
-        public Criteria andFoodStatusNotEqualTo(String value) {
787
-            addCriterion("food_status <>", value, "foodStatus");
786
+        public Criteria andFoodNatureNotEqualTo(String value) {
787
+            addCriterion("food_nature <>", value, "foodNature");
788 788
             return (Criteria) this;
789 789
         }
790 790
 
791
-        public Criteria andFoodStatusGreaterThan(String value) {
792
-            addCriterion("food_status >", value, "foodStatus");
791
+        public Criteria andFoodNatureGreaterThan(String value) {
792
+            addCriterion("food_nature >", value, "foodNature");
793 793
             return (Criteria) this;
794 794
         }
795 795
 
796
-        public Criteria andFoodStatusGreaterThanOrEqualTo(String value) {
797
-            addCriterion("food_status >=", value, "foodStatus");
796
+        public Criteria andFoodNatureGreaterThanOrEqualTo(String value) {
797
+            addCriterion("food_nature >=", value, "foodNature");
798 798
             return (Criteria) this;
799 799
         }
800 800
 
801
-        public Criteria andFoodStatusLessThan(String value) {
802
-            addCriterion("food_status <", value, "foodStatus");
801
+        public Criteria andFoodNatureLessThan(String value) {
802
+            addCriterion("food_nature <", value, "foodNature");
803 803
             return (Criteria) this;
804 804
         }
805 805
 
806
-        public Criteria andFoodStatusLessThanOrEqualTo(String value) {
807
-            addCriterion("food_status <=", value, "foodStatus");
806
+        public Criteria andFoodNatureLessThanOrEqualTo(String value) {
807
+            addCriterion("food_nature <=", value, "foodNature");
808 808
             return (Criteria) this;
809 809
         }
810 810
 
811
-        public Criteria andFoodStatusLike(String value) {
812
-            addCriterion("food_status like", value, "foodStatus");
811
+        public Criteria andFoodNatureLike(String value) {
812
+            addCriterion("food_nature like", value, "foodNature");
813 813
             return (Criteria) this;
814 814
         }
815 815
 
816
-        public Criteria andFoodStatusNotLike(String value) {
817
-            addCriterion("food_status not like", value, "foodStatus");
816
+        public Criteria andFoodNatureNotLike(String value) {
817
+            addCriterion("food_nature not like", value, "foodNature");
818 818
             return (Criteria) this;
819 819
         }
820 820
 
821
-        public Criteria andFoodStatusIn(List<String> values) {
822
-            addCriterion("food_status in", values, "foodStatus");
821
+        public Criteria andFoodNatureIn(List<String> values) {
822
+            addCriterion("food_nature in", values, "foodNature");
823 823
             return (Criteria) this;
824 824
         }
825 825
 
826
-        public Criteria andFoodStatusNotIn(List<String> values) {
827
-            addCriterion("food_status not in", values, "foodStatus");
826
+        public Criteria andFoodNatureNotIn(List<String> values) {
827
+            addCriterion("food_nature not in", values, "foodNature");
828 828
             return (Criteria) this;
829 829
         }
830 830
 
831
-        public Criteria andFoodStatusBetween(String value1, String value2) {
832
-            addCriterion("food_status between", value1, value2, "foodStatus");
831
+        public Criteria andFoodNatureBetween(String value1, String value2) {
832
+            addCriterion("food_nature between", value1, value2, "foodNature");
833 833
             return (Criteria) this;
834 834
         }
835 835
 
836
-        public Criteria andFoodStatusNotBetween(String value1, String value2) {
837
-            addCriterion("food_status not between", value1, value2, "foodStatus");
836
+        public Criteria andFoodNatureNotBetween(String value1, String value2) {
837
+            addCriterion("food_nature not between", value1, value2, "foodNature");
838 838
             return (Criteria) this;
839 839
         }
840 840
 
@@ -1428,123 +1428,123 @@ public class StorageChangeStoragehouseRopExample {
1428 1428
             return (Criteria) this;
1429 1429
         }
1430 1430
 
1431
-        public Criteria andGoalNumberIsNull() {
1432
-            addCriterion("goal_number is null");
1431
+        public Criteria andFoodNumberIsNull() {
1432
+            addCriterion("food_number is null");
1433 1433
             return (Criteria) this;
1434 1434
         }
1435 1435
 
1436
-        public Criteria andGoalNumberIsNotNull() {
1437
-            addCriterion("goal_number is not null");
1436
+        public Criteria andFoodNumberIsNotNull() {
1437
+            addCriterion("food_number is not null");
1438 1438
             return (Criteria) this;
1439 1439
         }
1440 1440
 
1441
-        public Criteria andGoalNumberEqualTo(BigDecimal value) {
1442
-            addCriterion("goal_number =", value, "goalNumber");
1441
+        public Criteria andFoodNumberEqualTo(BigDecimal value) {
1442
+            addCriterion("food_number =", value, "foodNumber");
1443 1443
             return (Criteria) this;
1444 1444
         }
1445 1445
 
1446
-        public Criteria andGoalNumberNotEqualTo(BigDecimal value) {
1447
-            addCriterion("goal_number <>", value, "goalNumber");
1446
+        public Criteria andFoodNumberNotEqualTo(BigDecimal value) {
1447
+            addCriterion("food_number <>", value, "foodNumber");
1448 1448
             return (Criteria) this;
1449 1449
         }
1450 1450
 
1451
-        public Criteria andGoalNumberGreaterThan(BigDecimal value) {
1452
-            addCriterion("goal_number >", value, "goalNumber");
1451
+        public Criteria andFoodNumberGreaterThan(BigDecimal value) {
1452
+            addCriterion("food_number >", value, "foodNumber");
1453 1453
             return (Criteria) this;
1454 1454
         }
1455 1455
 
1456
-        public Criteria andGoalNumberGreaterThanOrEqualTo(BigDecimal value) {
1457
-            addCriterion("goal_number >=", value, "goalNumber");
1456
+        public Criteria andFoodNumberGreaterThanOrEqualTo(BigDecimal value) {
1457
+            addCriterion("food_number >=", value, "foodNumber");
1458 1458
             return (Criteria) this;
1459 1459
         }
1460 1460
 
1461
-        public Criteria andGoalNumberLessThan(BigDecimal value) {
1462
-            addCriterion("goal_number <", value, "goalNumber");
1461
+        public Criteria andFoodNumberLessThan(BigDecimal value) {
1462
+            addCriterion("food_number <", value, "foodNumber");
1463 1463
             return (Criteria) this;
1464 1464
         }
1465 1465
 
1466
-        public Criteria andGoalNumberLessThanOrEqualTo(BigDecimal value) {
1467
-            addCriterion("goal_number <=", value, "goalNumber");
1466
+        public Criteria andFoodNumberLessThanOrEqualTo(BigDecimal value) {
1467
+            addCriterion("food_number <=", value, "foodNumber");
1468 1468
             return (Criteria) this;
1469 1469
         }
1470 1470
 
1471
-        public Criteria andGoalNumberIn(List<BigDecimal> values) {
1472
-            addCriterion("goal_number in", values, "goalNumber");
1471
+        public Criteria andFoodNumberIn(List<BigDecimal> values) {
1472
+            addCriterion("food_number in", values, "foodNumber");
1473 1473
             return (Criteria) this;
1474 1474
         }
1475 1475
 
1476
-        public Criteria andGoalNumberNotIn(List<BigDecimal> values) {
1477
-            addCriterion("goal_number not in", values, "goalNumber");
1476
+        public Criteria andFoodNumberNotIn(List<BigDecimal> values) {
1477
+            addCriterion("food_number not in", values, "foodNumber");
1478 1478
             return (Criteria) this;
1479 1479
         }
1480 1480
 
1481
-        public Criteria andGoalNumberBetween(BigDecimal value1, BigDecimal value2) {
1482
-            addCriterion("goal_number between", value1, value2, "goalNumber");
1481
+        public Criteria andFoodNumberBetween(BigDecimal value1, BigDecimal value2) {
1482
+            addCriterion("food_number between", value1, value2, "foodNumber");
1483 1483
             return (Criteria) this;
1484 1484
         }
1485 1485
 
1486
-        public Criteria andGoalNumberNotBetween(BigDecimal value1, BigDecimal value2) {
1487
-            addCriterion("goal_number not between", value1, value2, "goalNumber");
1486
+        public Criteria andFoodNumberNotBetween(BigDecimal value1, BigDecimal value2) {
1487
+            addCriterion("food_number not between", value1, value2, "foodNumber");
1488 1488
             return (Criteria) this;
1489 1489
         }
1490 1490
 
1491
-        public Criteria andFoodNumberIsNull() {
1492
-            addCriterion("food_number is null");
1491
+        public Criteria andGoalNumberIsNull() {
1492
+            addCriterion("goal_number is null");
1493 1493
             return (Criteria) this;
1494 1494
         }
1495 1495
 
1496
-        public Criteria andFoodNumberIsNotNull() {
1497
-            addCriterion("food_number is not null");
1496
+        public Criteria andGoalNumberIsNotNull() {
1497
+            addCriterion("goal_number is not null");
1498 1498
             return (Criteria) this;
1499 1499
         }
1500 1500
 
1501
-        public Criteria andFoodNumberEqualTo(BigDecimal value) {
1502
-            addCriterion("food_number =", value, "foodNumber");
1501
+        public Criteria andGoalNumberEqualTo(BigDecimal value) {
1502
+            addCriterion("goal_number =", value, "goalNumber");
1503 1503
             return (Criteria) this;
1504 1504
         }
1505 1505
 
1506
-        public Criteria andFoodNumberNotEqualTo(BigDecimal value) {
1507
-            addCriterion("food_number <>", value, "foodNumber");
1506
+        public Criteria andGoalNumberNotEqualTo(BigDecimal value) {
1507
+            addCriterion("goal_number <>", value, "goalNumber");
1508 1508
             return (Criteria) this;
1509 1509
         }
1510 1510
 
1511
-        public Criteria andFoodNumberGreaterThan(BigDecimal value) {
1512
-            addCriterion("food_number >", value, "foodNumber");
1511
+        public Criteria andGoalNumberGreaterThan(BigDecimal value) {
1512
+            addCriterion("goal_number >", value, "goalNumber");
1513 1513
             return (Criteria) this;
1514 1514
         }
1515 1515
 
1516
-        public Criteria andFoodNumberGreaterThanOrEqualTo(BigDecimal value) {
1517
-            addCriterion("food_number >=", value, "foodNumber");
1516
+        public Criteria andGoalNumberGreaterThanOrEqualTo(BigDecimal value) {
1517
+            addCriterion("goal_number >=", value, "goalNumber");
1518 1518
             return (Criteria) this;
1519 1519
         }
1520 1520
 
1521
-        public Criteria andFoodNumberLessThan(BigDecimal value) {
1522
-            addCriterion("food_number <", value, "foodNumber");
1521
+        public Criteria andGoalNumberLessThan(BigDecimal value) {
1522
+            addCriterion("goal_number <", value, "goalNumber");
1523 1523
             return (Criteria) this;
1524 1524
         }
1525 1525
 
1526
-        public Criteria andFoodNumberLessThanOrEqualTo(BigDecimal value) {
1527
-            addCriterion("food_number <=", value, "foodNumber");
1526
+        public Criteria andGoalNumberLessThanOrEqualTo(BigDecimal value) {
1527
+            addCriterion("goal_number <=", value, "goalNumber");
1528 1528
             return (Criteria) this;
1529 1529
         }
1530 1530
 
1531
-        public Criteria andFoodNumberIn(List<BigDecimal> values) {
1532
-            addCriterion("food_number in", values, "foodNumber");
1531
+        public Criteria andGoalNumberIn(List<BigDecimal> values) {
1532
+            addCriterion("goal_number in", values, "goalNumber");
1533 1533
             return (Criteria) this;
1534 1534
         }
1535 1535
 
1536
-        public Criteria andFoodNumberNotIn(List<BigDecimal> values) {
1537
-            addCriterion("food_number not in", values, "foodNumber");
1536
+        public Criteria andGoalNumberNotIn(List<BigDecimal> values) {
1537
+            addCriterion("goal_number not in", values, "goalNumber");
1538 1538
             return (Criteria) this;
1539 1539
         }
1540 1540
 
1541
-        public Criteria andFoodNumberBetween(BigDecimal value1, BigDecimal value2) {
1542
-            addCriterion("food_number between", value1, value2, "foodNumber");
1541
+        public Criteria andGoalNumberBetween(BigDecimal value1, BigDecimal value2) {
1542
+            addCriterion("goal_number between", value1, value2, "goalNumber");
1543 1543
             return (Criteria) this;
1544 1544
         }
1545 1545
 
1546
-        public Criteria andFoodNumberNotBetween(BigDecimal value1, BigDecimal value2) {
1547
-            addCriterion("food_number not between", value1, value2, "foodNumber");
1546
+        public Criteria andGoalNumberNotBetween(BigDecimal value1, BigDecimal value2) {
1547
+            addCriterion("goal_number not between", value1, value2, "goalNumber");
1548 1548
             return (Criteria) this;
1549 1549
         }
1550 1550
 
@@ -1617,6 +1617,76 @@ public class StorageChangeStoragehouseRopExample {
1617 1617
             addCriterion("out_after not between", value1, value2, "outAfter");
1618 1618
             return (Criteria) this;
1619 1619
         }
1620
+
1621
+        public Criteria andOperStaffIsNull() {
1622
+            addCriterion("oper_staff is null");
1623
+            return (Criteria) this;
1624
+        }
1625
+
1626
+        public Criteria andOperStaffIsNotNull() {
1627
+            addCriterion("oper_staff is not null");
1628
+            return (Criteria) this;
1629
+        }
1630
+
1631
+        public Criteria andOperStaffEqualTo(String value) {
1632
+            addCriterion("oper_staff =", value, "operStaff");
1633
+            return (Criteria) this;
1634
+        }
1635
+
1636
+        public Criteria andOperStaffNotEqualTo(String value) {
1637
+            addCriterion("oper_staff <>", value, "operStaff");
1638
+            return (Criteria) this;
1639
+        }
1640
+
1641
+        public Criteria andOperStaffGreaterThan(String value) {
1642
+            addCriterion("oper_staff >", value, "operStaff");
1643
+            return (Criteria) this;
1644
+        }
1645
+
1646
+        public Criteria andOperStaffGreaterThanOrEqualTo(String value) {
1647
+            addCriterion("oper_staff >=", value, "operStaff");
1648
+            return (Criteria) this;
1649
+        }
1650
+
1651
+        public Criteria andOperStaffLessThan(String value) {
1652
+            addCriterion("oper_staff <", value, "operStaff");
1653
+            return (Criteria) this;
1654
+        }
1655
+
1656
+        public Criteria andOperStaffLessThanOrEqualTo(String value) {
1657
+            addCriterion("oper_staff <=", value, "operStaff");
1658
+            return (Criteria) this;
1659
+        }
1660
+
1661
+        public Criteria andOperStaffLike(String value) {
1662
+            addCriterion("oper_staff like", value, "operStaff");
1663
+            return (Criteria) this;
1664
+        }
1665
+
1666
+        public Criteria andOperStaffNotLike(String value) {
1667
+            addCriterion("oper_staff not like", value, "operStaff");
1668
+            return (Criteria) this;
1669
+        }
1670
+
1671
+        public Criteria andOperStaffIn(List<String> values) {
1672
+            addCriterion("oper_staff in", values, "operStaff");
1673
+            return (Criteria) this;
1674
+        }
1675
+
1676
+        public Criteria andOperStaffNotIn(List<String> values) {
1677
+            addCriterion("oper_staff not in", values, "operStaff");
1678
+            return (Criteria) this;
1679
+        }
1680
+
1681
+        public Criteria andOperStaffBetween(String value1, String value2) {
1682
+            addCriterion("oper_staff between", value1, value2, "operStaff");
1683
+            return (Criteria) this;
1684
+        }
1685
+
1686
+        public Criteria andOperStaffNotBetween(String value1, String value2) {
1687
+            addCriterion("oper_staff not between", value1, value2, "operStaff");
1688
+            return (Criteria) this;
1689
+        }
1620 1690
     }
1621 1691
 
1622 1692
     /**
@@ -1630,7 +1700,7 @@ public class StorageChangeStoragehouseRopExample {
1630 1700
     }
1631 1701
 
1632 1702
     /**
1633
-     * storage_change_storagehouse_rop 2020-01-16
1703
+     * storage_change_storagehouse_rop 2020-06-26
1634 1704
      */
1635 1705
     public static class Criterion {
1636 1706
         private String condition;

+ 12 - 6
src/main/java/com/chinaitop/depot/storage/service/impl/StorageChangeStoragehouseRopServiceImpl.java

@@ -55,7 +55,8 @@ public class StorageChangeStoragehouseRopServiceImpl implements StorageChangeSto
55 55
 	public Map<String, Object> add(String change) {
56 56
 		Map<String, Object> modelMap = new HashMap<String, Object>();
57 57
         try {
58
-            
58
+			StorageChangeStoragehouseDefaultExample StorageChangeStoragehouseDefaultExample = new StorageChangeStoragehouseDefaultExample();
59
+			com.chinaitop.depot.storage.model.StorageChangeStoragehouseDefaultExample.Criteria criteria = StorageChangeStoragehouseDefaultExample.createCriteria();
59 60
             // JSON字符串转对象
60 61
             JSONObject jsonObject = JSONObject.parseObject(change);
61 62
             StorageChangeStoragehouseDefault storageChangeStoragehouseDefault = new StorageChangeStoragehouseDefault();
@@ -99,16 +100,21 @@ public class StorageChangeStoragehouseRopServiceImpl implements StorageChangeSto
99 100
              storageChangeStoragehouseDefault.setFoodWar(grainKind); //品种
100 101
              storageChangeStoragehouseDefault.setDetailWar(grainDetailKind); //明细品种
101 102
              storageChangeStoragehouseDefault.setFoodNature(grainAttribute); //粮油性质
102
-             
103
-             storageChangeStoragehouseDefaultMapper.insert(storageChangeStoragehouseDefault);
104
-        	
105
-            modelMap.put("status", "success");
103
+			 criteria.andApplyNoEqualTo(jsonObject.getString("applyNo"));
104
+			 criteria.andOrgIdEqualTo(jsonObject.getInteger("orgId"));
105
+			 List<StorageChangeStoragehouseDefault> list = storageChangeStoragehouseDefaultMapper.selectByExample(StorageChangeStoragehouseDefaultExample);
106
+             if(list == null || list.size() ==0 ){
107
+				 storageChangeStoragehouseDefaultMapper.insert(storageChangeStoragehouseDefault);
108
+				 modelMap.put("status", "success");
109
+			 }else{
110
+				 modelMap.put("status", "数据存在");
111
+			 }
112
+
106 113
         } catch (Exception e) {
107 114
             e.printStackTrace();
108 115
             modelMap.put("status", "error");
109 116
             modelMap.put("msg", "保存失败!");
110 117
         } 
111
-		
112 118
 		return modelMap;
113 119
 	}
114 120
 }

+ 0 - 98
src/main/java/com/chinaitop/depot/unissoft/model/ResponseEntity.java

@@ -1,98 +0,0 @@
1
-package com.chinaitop.depot.unissoft.model;
2
-
3
-
4
-
5
-import java.io.Serializable;
6
-
7
-//返回基类
8
-public class ResponseEntity<T> implements Serializable {
9
-
10
-    private static final long serialVersionUID = -2825436079063723409L;
11
-
12
-    //成功
13
-    private static final String OK = "200";
14
-    //失败
15
-    private static final String FAILED = "600";
16
-    private static final String BUSSINESS_FAILED = "550";
17
-    private static final String UNAUTHENTICATION = "401";
18
-
19
-    private String retCode;
20
-    private String message;
21
-    private T data;
22
-
23
-    public String getRetCode() {
24
-        return retCode;
25
-    }
26
-
27
-    public void setRetCode(String retCode) {
28
-        this.retCode = retCode;
29
-    }
30
-
31
-    public String getMessage() {
32
-        return message;
33
-    }
34
-
35
-    public void setMessage(String message) {
36
-        this.message = message;
37
-    }
38
-
39
-    public T getData() {
40
-        return data;
41
-    }
42
-
43
-    public void setData(T data) {
44
-        this.data = data;
45
-    }
46
-
47
-    private static <T> ResponseEntity<T> buildResponse(String retCode, String message, T data){
48
-        ResponseEntity<T> responseEntity = new ResponseEntity<T>();
49
-        responseEntity.retCode = retCode;
50
-        responseEntity.message = message;
51
-        responseEntity.data = data;
52
-        return responseEntity;
53
-    }
54
-
55
-    public static <T> ResponseEntity<T> ok(){
56
-        return buildResponse(ResponseEntity.OK,"success",null);
57
-    }
58
-    public static <T> ResponseEntity<T> ok(T data){
59
-        return buildResponse(ResponseEntity.OK,"success",data);
60
-
61
-    }
62
-    public static <T> ResponseEntity<T> ok(String message, T data){
63
-        return buildResponse(ResponseEntity.OK,message,data);
64
-    }
65
-
66
-
67
-    public static <T> ResponseEntity<T> failed(String message){
68
-        return buildResponse(ResponseEntity.FAILED,message,null);
69
-    }
70
-
71
-    public static <T> ResponseEntity<T> businessFailed(String message){
72
-        return buildResponse(ResponseEntity.BUSSINESS_FAILED,message,null);
73
-    }
74
-
75
-    public static <T> ResponseEntity<T> unauthentication(String message){
76
-        return buildResponse(ResponseEntity.UNAUTHENTICATION,message,null);
77
-    }
78
-
79
-    private String state;
80
-    private String msg;
81
-
82
-    public String getState() {
83
-        return state;
84
-    }
85
-
86
-    public void setState(String state) {
87
-        this.state = state;
88
-    }
89
-
90
-    public String getMsg() {
91
-        return msg;
92
-    }
93
-
94
-    public void setMsg(String msg) {
95
-        this.msg = msg;
96
-    }
97
-}
98
-

+ 0 - 54
src/main/java/com/chinaitop/depot/unissoft/serviceconfig/CxfConfig.java

@@ -1,54 +0,0 @@
1
-package com.chinaitop.depot.unissoft.serviceconfig;
2
-
3
-
4
-
5
-import org.apache.cxf.Bus;
6
-import org.apache.cxf.bus.spring.SpringBus;
7
-import org.apache.cxf.jaxws.EndpointImpl;
8
-import org.springframework.context.annotation.Bean;
9
-import org.springframework.context.annotation.Configuration;
10
-
11
-import com.chinaitop.depot.unissoft.webservice.ContractPassService;
12
-import com.chinaitop.depot.unissoft.webservice.ContractPassServiceImpl;
13
-import com.chinaitop.depot.unissoft.webservice.NoticePassService;
14
-import com.chinaitop.depot.unissoft.webservice.NoticePassServiceImpl;
15
-
16
-import javax.xml.ws.Endpoint;
17
-
18
-
19
-@Configuration
20
-public class CxfConfig {
21
-	/*
22
-	 * @Bean public ServletRegistrationBean dispatcherServlet() { return new
23
-	 * ServletRegistrationBean(new CXFServlet(),"/business/*"); }
24
-	 */
25
-    @Bean(name = Bus.DEFAULT_BUS_ID)
26
-    public SpringBus springBus() {
27
-        return new SpringBus();
28
-    }
29
-
30
-    //倒仓
31
-    @Bean
32
-    public ContractPassService contractPassService() {
33
-        return new ContractPassServiceImpl();
34
-    }
35
-    @Bean
36
-    public Endpoint uploadContractData() {
37
-        EndpointImpl endpoint = new EndpointImpl(springBus(), contractPassService());
38
-        endpoint.publish("/selectContractData");
39
-        return endpoint;
40
-    }
41
-
42
-    //出入库-库级平台
43
-    @Bean
44
-    public NoticePassService noticePassService() {
45
-        return  new NoticePassServiceImpl();
46
-    }
47
-    @Bean
48
-    public Endpoint uploadNoticeData() {
49
-        EndpointImpl endpoint = new EndpointImpl(springBus(), noticePassService());
50
-        endpoint.publish("/updateChangeStorageHouse");
51
-        return endpoint;
52
-    }
53
-
54
-}

+ 0 - 15
src/main/java/com/chinaitop/depot/unissoft/webservice/ContractPassService.java

@@ -1,15 +0,0 @@
1
-package com.chinaitop.depot.unissoft.webservice;
2
-
3
-
4
-
5
-import javax.jws.WebParam;
6
-import javax.jws.WebService;
7
-
8
-
9
-@WebService
10
-public interface ContractPassService {
11
-
12
-    //倒仓通知单接口-(市平台-库级平台-出入库)
13
-    public String getContractDatas(@WebParam(name = "orgId") String orgId, @WebParam(name = "ids") String ids);
14
-
15
-}

+ 0 - 26
src/main/java/com/chinaitop/depot/unissoft/webservice/ContractPassServiceImpl.java

@@ -1,26 +0,0 @@
1
-package com.chinaitop.depot.unissoft.webservice;
2
-
3
-
4
-import org.springframework.stereotype.Service;
5
-
6
-import javax.annotation.Resource;
7
-import javax.jws.WebService;
8
-
9
-import com.chinaitop.depot.pushs.service.PushsService;
10
-
11
-@Service
12
-@SuppressWarnings("all")
13
-@WebService(serviceName="selectContractData",
14
-		endpointInterface="com.chinaitop.depot.unissoft.webservice.ContractPassService",
15
-		targetNamespace = "http://webservice.unissoft.depot.chinaitop.com/")
16
-public class ContractPassServiceImpl implements ContractPassService {
17
-
18
-	@Resource
19
-	private PushsService PushsService;
20
-
21
-
22
-	@Override
23
-	public String getContractDatas(String orgId, String ids) {
24
-		return PushsService.getContractDatas(orgId, ids);
25
-	}
26
-}

+ 0 - 16
src/main/java/com/chinaitop/depot/unissoft/webservice/NoticePassService.java

@@ -1,16 +0,0 @@
1
-package com.chinaitop.depot.unissoft.webservice;
2
-
3
-
4
-
5
-import javax.jws.WebParam;
6
-import javax.jws.WebService;
7
-
8
-
9
-@WebService
10
-public interface NoticePassService {
11
-
12
-	//倒仓通知单记录接口-(出入库-库级平台)
13
-	//changeStorageHouseData  出入库数据以json格式传给库级平台
14
-    public String updateContractStatus(@WebParam(name = "changeStorageHouseData") String changeStorageHouseData);
15
-
16
-}

+ 0 - 26
src/main/java/com/chinaitop/depot/unissoft/webservice/NoticePassServiceImpl.java

@@ -1,26 +0,0 @@
1
-package com.chinaitop.depot.unissoft.webservice;
2
-
3
-
4
-import com.chinaitop.depot.pushs.service.PushsService;
5
-import org.springframework.stereotype.Service;
6
-
7
-import javax.annotation.Resource;
8
-import javax.jws.WebService;
9
-
10
-@Service
11
-@SuppressWarnings("all")
12
-@WebService(serviceName="updateChangeStorageHouse",
13
-		endpointInterface="com.chinaitop.depot.unissoft.webservice.NoticePassService",
14
-		targetNamespace = "http://webservice.unissoft.depot.chinaitop.com/")
15
-public class NoticePassServiceImpl implements NoticePassService {
16
-
17
-	@Resource
18
-	private PushsService PushsService;
19
-
20
-	@Override
21
-	public String updateContractStatus(String changeStorageHouseData) {
22
-		// TODO Auto-generated method stub
23
-		return PushsService.updateChangeStorageHouse(changeStorageHouseData);
24
-	}
25
-	
26
-}