Z_ABNORMAL_BILL 提交
parent
0335019750
commit
068b544c06
@ -0,0 +1,217 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="web" name="Web">
|
||||
<configuration>
|
||||
<webroots />
|
||||
<sourceRoots>
|
||||
<root url="file://$MODULE_DIR$/src/main/java" />
|
||||
<root url="file://$MODULE_DIR$/src/main/resources" />
|
||||
</sourceRoots>
|
||||
</configuration>
|
||||
</facet>
|
||||
<facet type="Spring" name="Spring">
|
||||
<configuration />
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Maven: cn.hutool:hutool-all:5.0.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.foreverwin.modular:modular-core:1.0-SNAPSHOT.standlone-hana" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.17" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:8.5.43" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.tomcat:tomcat-annotations-api:8.5.43" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:8.5.43" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:8.5.43" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.3.6.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.2.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml:classmate:1.3.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.11.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-log4j2:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-slf4j-impl:2.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-core:2.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.26" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.26" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-test:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-test:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-test-autoconfigure:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.jayway.jsonpath:json-path:2.2.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: net.minidev:json-smart:2.2.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: net.minidev:accessors-smart:1.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: junit:junit:4.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.assertj:assertj-core:2.6.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mockito:mockito-core:1.10.19" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.objenesis:objenesis:2.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-library:1.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.skyscreamer:jsonassert:1.4.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.vaadin.external.google:android-json:0.0.20131108.vaadin1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-test:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:dynamic-datasource-spring-boot-starter:2.5.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.5.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-aop:1.5.22.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.14" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-boot-starter:3.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus:3.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-extension:3.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-core:3.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.baomidou:mybatis-plus-annotation:3.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.github.jsqlparser:jsqlparser:1.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:2.0.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:2.5.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.26" level="project" />
|
||||
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.48" level="project" />
|
||||
<orderEntry type="library" name="Maven: ojdbc6:ojdbc6:11.2.0.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sap:ngdbc:2.5.52" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sap:sapdbc:7.9.09" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-legacy:1.1.0.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis:mybatis-typehandlers-jsr310:1.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.8.11" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.11" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-jaxws:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.ow2.asm:asm:5.0.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-core:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.4.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.ws.xmlschema:xmlschema-core:2.2.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-soap:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-wsdl:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-databinding-jaxb:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.2.11" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-core:2.2.11" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-xml:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-simple:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-addr:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-policy:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.neethi:neethi:3.0.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-transports-http:3.1.12" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sap:sapjco:NTAMD64-3.0.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:9.4.19.v20190610" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:9.4.19.v20190610" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:9.4.19.v20190610" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:9.4.19.v20190610" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.servlet:javax.servlet-api:3.1.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:9.4.19.v20190610" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-websocket:8.2.0.v20160908" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.73" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-io:commons-io:2.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec:1.0.1" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.foreverwin.modular:modular-melib:15.4.0.2.RELEASE" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.activity.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.annotation.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.appconfig.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.backgroundprocess.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.browse.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.certification.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.collaboration.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.common.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.container.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.customdata.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.datacollection.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.dataformat.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.datatransfer.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.datatype.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.demand.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.document.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.extension.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.framework.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.framework.api-internal:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.framework.globalization:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.integration.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.integration.cncdnc.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.integration.erp.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.inventory.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.labor.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.legacy.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.messaging.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.nonconformance.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.numbering.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.plant.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.productdefinition.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.production.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.productiondate.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.reasoncode.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.reporting.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.resourcetracking.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.sampling.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.schedulingstandards.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.script.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.security.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.setpoint.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.status.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.timeelement.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.tooling.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.uom.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.user.api:154.0.2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:service-core.api:3.4.0" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:common-libs:3.0" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:sap-usermanagement-api:1.0" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sap:me.common.domain:154.0.2" level="project" />
|
||||
<orderEntry type="module" module-name="meapi" />
|
||||
<orderEntry type="module" module-name="common" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-activemq:2.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-jms:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-messaging:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-tx:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.activemq:activemq-broker:5.14.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.activemq:activemq-openwire-legacy:5.14.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.jms:javax.jms-api:2.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.activemq:activemq-pool:5.13.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.activemq:activemq-jms-pool:5.14.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.activemq:activemq-client:5.14.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.fusesource.hawtbuf:hawtbuf:1.11" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec:1.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.4.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.mail:mail:1.4.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.activation:activation:1.1.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.jsoup:jsoup:1.11.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.8" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.8" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.8" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.3.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: xml-apis:xml-apis:1.4.01" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-lang:commons-lang:2.4" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.guava:guava:28.0-jre" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.guava:failureaccess:1.0.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:3.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.checkerframework:checker-qual:2.8.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.errorprone:error_prone_annotations:2.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.google.j2objc:j2objc-annotations:1.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.codehaus.mojo:animal-sniffer-annotations:1.17" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.25.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>mesnac</artifactId>
|
||||
<groupId>com.foreverwin.mesnac</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>anomaly</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>5.0.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.foreverwin.modular</groupId>
|
||||
<artifactId>modular-core</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--sap mes api lib-->
|
||||
<dependency>
|
||||
<groupId>com.foreverwin.modular</groupId>
|
||||
<artifactId>modular-melib</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.foreverwin.mesnac</groupId>
|
||||
<artifactId>meapi</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.foreverwin.mesnac</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--poi support-->
|
||||
<dependency>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi</artifactId>
|
||||
<version>3.8</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.poi</groupId>
|
||||
<artifactId>poi-ooxml</artifactId>
|
||||
<version>3.8</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.4</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
@ -0,0 +1,146 @@
|
||||
package com.foreverwin.mesnac.anomaly.controller;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.foreverwin.mesnac.anomaly.model.AbnormalBill;
|
||||
import com.foreverwin.mesnac.anomaly.service.AbnormalBillService;
|
||||
import com.foreverwin.modular.core.util.FrontPage;
|
||||
import com.foreverwin.modular.core.util.R;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author robert
|
||||
* @since 2021-06-25
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/Z-ABNORMAL-BILL")
|
||||
public class AbnormalBillController {
|
||||
|
||||
@Autowired
|
||||
public AbnormalBillService abnormalBillService;
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id 主键
|
||||
* @return
|
||||
*/
|
||||
@ResponseBody
|
||||
@GetMapping("/{id:.+}")
|
||||
public R getAbnormalBillById(@PathVariable String id) {
|
||||
return R.ok( abnormalBillService.getById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询所有数据
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@ResponseBody
|
||||
@GetMapping("")
|
||||
public R getAbnormalBillList(AbnormalBill abnormalBill){
|
||||
List<AbnormalBill> result;
|
||||
QueryWrapper<AbnormalBill> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.setEntity(abnormalBill);
|
||||
result = abnormalBillService.list(queryWrapper);
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询数据
|
||||
*
|
||||
* @param frontPage 分页信息
|
||||
* @return
|
||||
*/
|
||||
@ResponseBody
|
||||
@GetMapping("/page")
|
||||
public R page(FrontPage<AbnormalBill> frontPage, AbnormalBill abnormalBill){
|
||||
IPage result;
|
||||
QueryWrapper<AbnormalBill> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.setEntity(abnormalBill);
|
||||
if (frontPage.getGlobalQuery() != null && !"".equals(frontPage.getGlobalQuery().trim())) {
|
||||
//TODO modify global query
|
||||
queryWrapper.lambda().and(wrapper -> wrapper
|
||||
.like(AbnormalBill::getHandle, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getSite, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getAbnormalNo, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getStatus, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getType, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getItemBo, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getSfc, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getWorkCenter, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getShopOrder, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getMessageType, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getResrce, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getNcCode, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getShutDown, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getResponseUser, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getPbDescription, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getNcQty, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getPbGrade, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getPbUser, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getPbQty, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getDiscover, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getInspecter, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getEntityLocation, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getReportFrom, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getObjectBo, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getPbPhotoshop, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getCancelCode, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getCancelReason, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getCancelUser, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getCreatedUser, frontPage.getGlobalQuery())
|
||||
.or().like(AbnormalBill::getModifiedUser, frontPage.getGlobalQuery())
|
||||
);
|
||||
}
|
||||
result = abnormalBillService.page(frontPage.getPagePlus(), queryWrapper);
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
* @param abnormalBill 传递的实体
|
||||
* @return null 失败 实体成功
|
||||
*/
|
||||
@PostMapping
|
||||
public R save(@RequestBody AbnormalBill abnormalBill) {
|
||||
return R.ok(abnormalBillService.save(abnormalBill));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改
|
||||
* @param abnormalBill 传递的实体
|
||||
* @return null 失败 实体成功
|
||||
*/
|
||||
@PutMapping
|
||||
public R updateById(@RequestBody AbnormalBill abnormalBill) {
|
||||
return R.ok(abnormalBillService.updateById(abnormalBill));
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id删除对象
|
||||
* @param id 实体ID
|
||||
* @return 0 失败 1 成功
|
||||
*/
|
||||
@ResponseBody
|
||||
@RequestMapping(method = RequestMethod.DELETE, value = "/{id:.+}")
|
||||
public R removeById(@PathVariable("id") String id){
|
||||
return R.ok(abnormalBillService.removeById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除对象
|
||||
* @param ids 实体集合ID
|
||||
* @return 0 失败 1 成功
|
||||
*/
|
||||
@ResponseBody
|
||||
@RequestMapping(method = RequestMethod.POST, value = "/delete-batch")
|
||||
public R removeByIds(List<String> ids){
|
||||
return R.ok(abnormalBillService.removeByIds(ids));
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.foreverwin.mesnac.anomaly.mapper;
|
||||
|
||||
import com.foreverwin.mesnac.anomaly.model.AbnormalBill;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 异常单 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author robert
|
||||
* @since 2021-06-25
|
||||
*/
|
||||
@Repository
|
||||
public interface AbnormalBillMapper extends BaseMapper<AbnormalBill> {
|
||||
|
||||
}
|
@ -0,0 +1,600 @@
|
||||
package com.foreverwin.mesnac.anomaly.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 异常单
|
||||
* </p>
|
||||
*
|
||||
* @author robert
|
||||
* @since 2021-06-25
|
||||
*/
|
||||
|
||||
@TableName("Z_ABNORMAL_BILL")
|
||||
|
||||
public class AbnormalBill extends Model<AbnormalBill> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键 AbnormalBillBO:站点,异常单
|
||||
*/
|
||||
@TableId(value = "HANDLE", type = IdType.INPUT)
|
||||
private String handle;
|
||||
/**
|
||||
* 站点
|
||||
*/
|
||||
@TableField("SITE")
|
||||
private String site;
|
||||
/**
|
||||
* 异常单
|
||||
*/
|
||||
@TableField("ABNORMAL_NO")
|
||||
private String abnormalNo;
|
||||
/**
|
||||
* 异常状态 新建/响应中/方案确认/纠防确认/取消/关闭
|
||||
*/
|
||||
@TableField("STATUS")
|
||||
private String status;
|
||||
/**
|
||||
* 异常类型
|
||||
*/
|
||||
@TableField("TYPE")
|
||||
private String type;
|
||||
/**
|
||||
* 物料BO
|
||||
*/
|
||||
@TableField("ITEM_BO")
|
||||
private String itemBo;
|
||||
/**
|
||||
* SFC条码
|
||||
*/
|
||||
@TableField("SFC")
|
||||
private String sfc;
|
||||
/**
|
||||
* 异常车间
|
||||
*/
|
||||
@TableField("WORK_CENTER")
|
||||
private String workCenter;
|
||||
/**
|
||||
* 工单
|
||||
*/
|
||||
@TableField("SHOP_ORDER")
|
||||
private String shopOrder;
|
||||
/**
|
||||
* 消息类型
|
||||
*/
|
||||
@TableField("MESSAGE_TYPE")
|
||||
private String messageType;
|
||||
/**
|
||||
* 设备编号
|
||||
*/
|
||||
@TableField("RESRCE")
|
||||
private String resrce;
|
||||
/**
|
||||
* 不良代码
|
||||
*/
|
||||
@TableField("NC_CODE")
|
||||
private String ncCode;
|
||||
/**
|
||||
* 停机处理
|
||||
*/
|
||||
@TableField("SHUT_DOWN")
|
||||
private String shutDown;
|
||||
/**
|
||||
* 响应人员
|
||||
*/
|
||||
@TableField("RESPONSE_USER")
|
||||
private String responseUser;
|
||||
/**
|
||||
* 响应时间
|
||||
*/
|
||||
@TableField("RESPONSE_DATE_TIME")
|
||||
private LocalDateTime responseDateTime;
|
||||
/**
|
||||
* 问题描述
|
||||
*/
|
||||
@TableField("PB_DESCRIPTION")
|
||||
private String pbDescription;
|
||||
/**
|
||||
* 不良品数量
|
||||
*/
|
||||
@TableField("NC_QTY")
|
||||
private String ncQty;
|
||||
/**
|
||||
* 问题等级
|
||||
*/
|
||||
@TableField("PB_GRADE")
|
||||
private String pbGrade;
|
||||
/**
|
||||
* 问题提报人
|
||||
*/
|
||||
@TableField("PB_USER")
|
||||
private String pbUser;
|
||||
/**
|
||||
* 问题数量
|
||||
*/
|
||||
@TableField("PB_QTY")
|
||||
private String pbQty;
|
||||
/**
|
||||
* 建议维修时间
|
||||
*/
|
||||
@TableField("REPAIR_DATE_TIME")
|
||||
private LocalDateTime repairDateTime;
|
||||
/**
|
||||
* 发现环节
|
||||
*/
|
||||
@TableField("DISCOVER")
|
||||
private String discover;
|
||||
/**
|
||||
* 检验人员
|
||||
*/
|
||||
@TableField("INSPECTER")
|
||||
private String inspecter;
|
||||
/**
|
||||
* 实物位置
|
||||
*/
|
||||
@TableField("ENTITY_LOCATION")
|
||||
private String entityLocation;
|
||||
/**
|
||||
* 上报来源
|
||||
*/
|
||||
@TableField("REPORT_FROM")
|
||||
private String reportFrom;
|
||||
/**
|
||||
* 关联来源
|
||||
*/
|
||||
@TableField("OBJECT_BO")
|
||||
private String objectBo;
|
||||
/**
|
||||
* 问题照片
|
||||
*/
|
||||
@TableField("PB_PHOTOSHOP")
|
||||
private String pbPhotoshop;
|
||||
/**
|
||||
* 取消代码
|
||||
*/
|
||||
@TableField("CANCEL_CODE")
|
||||
private String cancelCode;
|
||||
/**
|
||||
* 取消原因
|
||||
*/
|
||||
@TableField("CANCEL_REASON")
|
||||
private String cancelReason;
|
||||
/**
|
||||
* 取消时间
|
||||
*/
|
||||
@TableField("CANCEL_DATE_TIME")
|
||||
private LocalDateTime cancelDateTime;
|
||||
/**
|
||||
* 取消人
|
||||
*/
|
||||
@TableField("CANCEL_USER")
|
||||
private String cancelUser;
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@TableField("CREATED_USER")
|
||||
private String createdUser;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@TableField("CREATED_DATA_TIME")
|
||||
private LocalDateTime createdDataTime;
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@TableField("MODIFIED_USER")
|
||||
private String modifiedUser;
|
||||
/**
|
||||
* 修改日期
|
||||
*/
|
||||
@TableField("MODIFIED_DATE_TIME")
|
||||
private LocalDateTime modifiedDateTime;
|
||||
|
||||
|
||||
public String getHandle() {
|
||||
return handle;
|
||||
}
|
||||
|
||||
public void setHandle(String handle) {
|
||||
this.handle = handle;
|
||||
}
|
||||
|
||||
public String getSite() {
|
||||
return site;
|
||||
}
|
||||
|
||||
public void setSite(String site) {
|
||||
this.site = site;
|
||||
}
|
||||
|
||||
public String getAbnormalNo() {
|
||||
return abnormalNo;
|
||||
}
|
||||
|
||||
public void setAbnormalNo(String abnormalNo) {
|
||||
this.abnormalNo = abnormalNo;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getItemBo() {
|
||||
return itemBo;
|
||||
}
|
||||
|
||||
public void setItemBo(String itemBo) {
|
||||
this.itemBo = itemBo;
|
||||
}
|
||||
|
||||
public String getSfc() {
|
||||
return sfc;
|
||||
}
|
||||
|
||||
public void setSfc(String sfc) {
|
||||
this.sfc = sfc;
|
||||
}
|
||||
|
||||
public String getWorkCenter() {
|
||||
return workCenter;
|
||||
}
|
||||
|
||||
public void setWorkCenter(String workCenter) {
|
||||
this.workCenter = workCenter;
|
||||
}
|
||||
|
||||
public String getShopOrder() {
|
||||
return shopOrder;
|
||||
}
|
||||
|
||||
public void setShopOrder(String shopOrder) {
|
||||
this.shopOrder = shopOrder;
|
||||
}
|
||||
|
||||
public String getMessageType() {
|
||||
return messageType;
|
||||
}
|
||||
|
||||
public void setMessageType(String messageType) {
|
||||
this.messageType = messageType;
|
||||
}
|
||||
|
||||
public String getResrce() {
|
||||
return resrce;
|
||||
}
|
||||
|
||||
public void setResrce(String resrce) {
|
||||
this.resrce = resrce;
|
||||
}
|
||||
|
||||
public String getNcCode() {
|
||||
return ncCode;
|
||||
}
|
||||
|
||||
public void setNcCode(String ncCode) {
|
||||
this.ncCode = ncCode;
|
||||
}
|
||||
|
||||
public String getShutDown() {
|
||||
return shutDown;
|
||||
}
|
||||
|
||||
public void setShutDown(String shutDown) {
|
||||
this.shutDown = shutDown;
|
||||
}
|
||||
|
||||
public String getResponseUser() {
|
||||
return responseUser;
|
||||
}
|
||||
|
||||
public void setResponseUser(String responseUser) {
|
||||
this.responseUser = responseUser;
|
||||
}
|
||||
|
||||
public LocalDateTime getResponseDateTime() {
|
||||
return responseDateTime;
|
||||
}
|
||||
|
||||
public void setResponseDateTime(LocalDateTime responseDateTime) {
|
||||
this.responseDateTime = responseDateTime;
|
||||
}
|
||||
|
||||
public String getPbDescription() {
|
||||
return pbDescription;
|
||||
}
|
||||
|
||||
public void setPbDescription(String pbDescription) {
|
||||
this.pbDescription = pbDescription;
|
||||
}
|
||||
|
||||
public String getNcQty() {
|
||||
return ncQty;
|
||||
}
|
||||
|
||||
public void setNcQty(String ncQty) {
|
||||
this.ncQty = ncQty;
|
||||
}
|
||||
|
||||
public String getPbGrade() {
|
||||
return pbGrade;
|
||||
}
|
||||
|
||||
public void setPbGrade(String pbGrade) {
|
||||
this.pbGrade = pbGrade;
|
||||
}
|
||||
|
||||
public String getPbUser() {
|
||||
return pbUser;
|
||||
}
|
||||
|
||||
public void setPbUser(String pbUser) {
|
||||
this.pbUser = pbUser;
|
||||
}
|
||||
|
||||
public String getPbQty() {
|
||||
return pbQty;
|
||||
}
|
||||
|
||||
public void setPbQty(String pbQty) {
|
||||
this.pbQty = pbQty;
|
||||
}
|
||||
|
||||
public LocalDateTime getRepairDateTime() {
|
||||
return repairDateTime;
|
||||
}
|
||||
|
||||
public void setRepairDateTime(LocalDateTime repairDateTime) {
|
||||
this.repairDateTime = repairDateTime;
|
||||
}
|
||||
|
||||
public String getDiscover() {
|
||||
return discover;
|
||||
}
|
||||
|
||||
public void setDiscover(String discover) {
|
||||
this.discover = discover;
|
||||
}
|
||||
|
||||
public String getInspecter() {
|
||||
return inspecter;
|
||||
}
|
||||
|
||||
public void setInspecter(String inspecter) {
|
||||
this.inspecter = inspecter;
|
||||
}
|
||||
|
||||
public String getEntityLocation() {
|
||||
return entityLocation;
|
||||
}
|
||||
|
||||
public void setEntityLocation(String entityLocation) {
|
||||
this.entityLocation = entityLocation;
|
||||
}
|
||||
|
||||
public String getReportFrom() {
|
||||
return reportFrom;
|
||||
}
|
||||
|
||||
public void setReportFrom(String reportFrom) {
|
||||
this.reportFrom = reportFrom;
|
||||
}
|
||||
|
||||
public String getObjectBo() {
|
||||
return objectBo;
|
||||
}
|
||||
|
||||
public void setObjectBo(String objectBo) {
|
||||
this.objectBo = objectBo;
|
||||
}
|
||||
|
||||
public String getPbPhotoshop() {
|
||||
return pbPhotoshop;
|
||||
}
|
||||
|
||||
public void setPbPhotoshop(String pbPhotoshop) {
|
||||
this.pbPhotoshop = pbPhotoshop;
|
||||
}
|
||||
|
||||
public String getCancelCode() {
|
||||
return cancelCode;
|
||||
}
|
||||
|
||||
public void setCancelCode(String cancelCode) {
|
||||
this.cancelCode = cancelCode;
|
||||
}
|
||||
|
||||
public String getCancelReason() {
|
||||
return cancelReason;
|
||||
}
|
||||
|
||||
public void setCancelReason(String cancelReason) {
|
||||
this.cancelReason = cancelReason;
|
||||
}
|
||||
|
||||
public LocalDateTime getCancelDateTime() {
|
||||
return cancelDateTime;
|
||||
}
|
||||
|
||||
public void setCancelDateTime(LocalDateTime cancelDateTime) {
|
||||
this.cancelDateTime = cancelDateTime;
|
||||
}
|
||||
|
||||
public String getCancelUser() {
|
||||
return cancelUser;
|
||||
}
|
||||
|
||||
public void setCancelUser(String cancelUser) {
|
||||
this.cancelUser = cancelUser;
|
||||
}
|
||||
|
||||
public String getCreatedUser() {
|
||||
return createdUser;
|
||||
}
|
||||
|
||||
public void setCreatedUser(String createdUser) {
|
||||
this.createdUser = createdUser;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreatedDataTime() {
|
||||
return createdDataTime;
|
||||
}
|
||||
|
||||
public void setCreatedDataTime(LocalDateTime createdDataTime) {
|
||||
this.createdDataTime = createdDataTime;
|
||||
}
|
||||
|
||||
public String getModifiedUser() {
|
||||
return modifiedUser;
|
||||
}
|
||||
|
||||
public void setModifiedUser(String modifiedUser) {
|
||||
this.modifiedUser = modifiedUser;
|
||||
}
|
||||
|
||||
public LocalDateTime getModifiedDateTime() {
|
||||
return modifiedDateTime;
|
||||
}
|
||||
|
||||
public void setModifiedDateTime(LocalDateTime modifiedDateTime) {
|
||||
this.modifiedDateTime = modifiedDateTime;
|
||||
}
|
||||
|
||||
public static final String HANDLE = "HANDLE";
|
||||
|
||||
public static final String SITE = "SITE";
|
||||
|
||||
public static final String ABNORMAL_NO = "ABNORMAL_NO";
|
||||
|
||||
public static final String STATUS = "STATUS";
|
||||
|
||||
public static final String TYPE = "TYPE";
|
||||
|
||||
public static final String ITEM_BO = "ITEM_BO";
|
||||
|
||||
public static final String SFC = "SFC";
|
||||
|
||||
public static final String WORK_CENTER = "WORK_CENTER";
|
||||
|
||||
public static final String SHOP_ORDER = "SHOP_ORDER";
|
||||
|
||||
public static final String MESSAGE_TYPE = "MESSAGE_TYPE";
|
||||
|
||||
public static final String RESRCE = "RESRCE";
|
||||
|
||||
public static final String NC_CODE = "NC_CODE";
|
||||
|
||||
public static final String SHUT_DOWN = "SHUT_DOWN";
|
||||
|
||||
public static final String RESPONSE_USER = "RESPONSE_USER";
|
||||
|
||||
public static final String RESPONSE_DATE_TIME = "RESPONSE_DATE_TIME";
|
||||
|
||||
public static final String PB_DESCRIPTION = "PB_DESCRIPTION";
|
||||
|
||||
public static final String NC_QTY = "NC_QTY";
|
||||
|
||||
public static final String PB_GRADE = "PB_GRADE";
|
||||
|
||||
public static final String PB_USER = "PB_USER";
|
||||
|
||||
public static final String PB_QTY = "PB_QTY";
|
||||
|
||||
public static final String REPAIR_DATE_TIME = "REPAIR_DATE_TIME";
|
||||
|
||||
public static final String DISCOVER = "DISCOVER";
|
||||
|
||||
public static final String INSPECTER = "INSPECTER";
|
||||
|
||||
public static final String ENTITY_LOCATION = "ENTITY_LOCATION";
|
||||
|
||||
public static final String REPORT_FROM = "REPORT_FROM";
|
||||
|
||||
public static final String OBJECT_BO = "OBJECT_BO";
|
||||
|
||||
public static final String PB_PHOTOSHOP = "PB_PHOTOSHOP";
|
||||
|
||||
public static final String CANCEL_CODE = "CANCEL_CODE";
|
||||
|
||||
public static final String CANCEL_REASON = "CANCEL_REASON";
|
||||
|
||||
public static final String CANCEL_DATE_TIME = "CANCEL_DATE_TIME";
|
||||
|
||||
public static final String CANCEL_USER = "CANCEL_USER";
|
||||
|
||||
public static final String CREATED_USER = "CREATED_USER";
|
||||
|
||||
public static final String CREATED_DATA_TIME = "CREATED_DATA_TIME";
|
||||
|
||||
public static final String MODIFIED_USER = "MODIFIED_USER";
|
||||
|
||||
public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";
|
||||
|
||||
|
||||
@Override
|
||||
protected Serializable pkVal() {
|
||||
return this.handle;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "AbnormalBill{" +
|
||||
"handle = " + handle +
|
||||
", site = " + site +
|
||||
", abnormalNo = " + abnormalNo +
|
||||
", status = " + status +
|
||||
", type = " + type +
|
||||
", itemBo = " + itemBo +
|
||||
", sfc = " + sfc +
|
||||
", workCenter = " + workCenter +
|
||||
", shopOrder = " + shopOrder +
|
||||
", messageType = " + messageType +
|
||||
", resrce = " + resrce +
|
||||
", ncCode = " + ncCode +
|
||||
", shutDown = " + shutDown +
|
||||
", responseUser = " + responseUser +
|
||||
", responseDateTime = " + responseDateTime +
|
||||
", pbDescription = " + pbDescription +
|
||||
", ncQty = " + ncQty +
|
||||
", pbGrade = " + pbGrade +
|
||||
", pbUser = " + pbUser +
|
||||
", pbQty = " + pbQty +
|
||||
", repairDateTime = " + repairDateTime +
|
||||
", discover = " + discover +
|
||||
", inspecter = " + inspecter +
|
||||
", entityLocation = " + entityLocation +
|
||||
", reportFrom = " + reportFrom +
|
||||
", objectBo = " + objectBo +
|
||||
", pbPhotoshop = " + pbPhotoshop +
|
||||
", cancelCode = " + cancelCode +
|
||||
", cancelReason = " + cancelReason +
|
||||
", cancelDateTime = " + cancelDateTime +
|
||||
", cancelUser = " + cancelUser +
|
||||
", createdUser = " + createdUser +
|
||||
", createdDataTime = " + createdDataTime +
|
||||
", modifiedUser = " + modifiedUser +
|
||||
", modifiedDateTime = " + modifiedDateTime +
|
||||
"}";
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package com.foreverwin.mesnac.anomaly.service;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.foreverwin.mesnac.anomaly.model.AbnormalBill;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.foreverwin.modular.core.util.FrontPage;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 异常单 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author robert
|
||||
* @since 2021-06-25
|
||||
*/
|
||||
public interface AbnormalBillService extends IService<AbnormalBill> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
* @param frontPage
|
||||
* @return
|
||||
*/
|
||||
IPage<AbnormalBill> selectPage(FrontPage<AbnormalBill> frontPage, AbnormalBill abnormalBill);
|
||||
|
||||
List<AbnormalBill> selectList(AbnormalBill abnormalBill);
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package com.foreverwin.mesnac.anomaly.service.impl;
|
||||
|
||||
import com.foreverwin.modular.core.util.FrontPage;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.foreverwin.mesnac.anomaly.model.AbnormalBill;
|
||||
import com.foreverwin.mesnac.anomaly.mapper.AbnormalBillMapper;
|
||||
import com.foreverwin.mesnac.anomaly.service.AbnormalBillService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.List;
|
||||
/**
|
||||
* <p>
|
||||
* 异常单 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author robert
|
||||
* @since 2021-06-25
|
||||
*/
|
||||
@Service
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, AbnormalBill> implements AbnormalBillService {
|
||||
|
||||
|
||||
@Autowired
|
||||
private AbnormalBillMapper abnormalBillMapper;
|
||||
|
||||
@Override
|
||||
public IPage<AbnormalBill> selectPage(FrontPage<AbnormalBill> frontPage, AbnormalBill abnormalBill) {
|
||||
QueryWrapper<AbnormalBill> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.setEntity(abnormalBill);
|
||||
return super.page(frontPage.getPagePlus(), queryWrapper);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AbnormalBill> selectList(AbnormalBill abnormalBill) {
|
||||
QueryWrapper<AbnormalBill> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.setEntity(abnormalBill);
|
||||
return super.list(queryWrapper);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,802 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.foreverwin.mesnac.anomaly.mapper.AbnormalBillMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="BaseResultMap" type="com.foreverwin.mesnac.anomaly.model.AbnormalBill">
|
||||
<id column="HANDLE" property="handle" />
|
||||
<result column="SITE" property="site" />
|
||||
<result column="ABNORMAL_NO" property="abnormalNo" />
|
||||
<result column="STATUS" property="status" />
|
||||
<result column="TYPE" property="type" />
|
||||
<result column="ITEM_BO" property="itemBo" />
|
||||
<result column="SFC" property="sfc" />
|
||||
<result column="WORK_CENTER" property="workCenter" />
|
||||
<result column="SHOP_ORDER" property="shopOrder" />
|
||||
<result column="MESSAGE_TYPE" property="messageType" />
|
||||
<result column="RESRCE" property="resrce" />
|
||||
<result column="NC_CODE" property="ncCode" />
|
||||
<result column="SHUT_DOWN" property="shutDown" />
|
||||
<result column="RESPONSE_USER" property="responseUser" />
|
||||
<result column="RESPONSE_DATE_TIME" property="responseDateTime" />
|
||||
<result column="PB_DESCRIPTION" property="pbDescription" />
|
||||
<result column="NC_QTY" property="ncQty" />
|
||||
<result column="PB_GRADE" property="pbGrade" />
|
||||
<result column="PB_USER" property="pbUser" />
|
||||
<result column="PB_QTY" property="pbQty" />
|
||||
<result column="REPAIR_DATE_TIME" property="repairDateTime" />
|
||||
<result column="DISCOVER" property="discover" />
|
||||
<result column="INSPECTER" property="inspecter" />
|
||||
<result column="ENTITY_LOCATION" property="entityLocation" />
|
||||
<result column="REPORT_FROM" property="reportFrom" />
|
||||
<result column="OBJECT_BO" property="objectBo" />
|
||||
<result column="PB_PHOTOSHOP" property="pbPhotoshop" />
|
||||
<result column="CANCEL_CODE" property="cancelCode" />
|
||||
<result column="CANCEL_REASON" property="cancelReason" />
|
||||
<result column="CANCEL_DATE_TIME" property="cancelDateTime" />
|
||||
<result column="CANCEL_USER" property="cancelUser" />
|
||||
<result column="CREATED_USER" property="createdUser" />
|
||||
<result column="CREATED_DATA_TIME" property="createdDataTime" />
|
||||
<result column="MODIFIED_USER" property="modifiedUser" />
|
||||
<result column="MODIFIED_DATE_TIME" property="modifiedDateTime" />
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
HANDLE, SITE, ABNORMAL_NO, STATUS, TYPE, ITEM_BO, SFC, WORK_CENTER, SHOP_ORDER, MESSAGE_TYPE, RESRCE, NC_CODE, SHUT_DOWN, RESPONSE_USER, RESPONSE_DATE_TIME, PB_DESCRIPTION, NC_QTY, PB_GRADE, PB_USER, PB_QTY, REPAIR_DATE_TIME, DISCOVER, INSPECTER, ENTITY_LOCATION, REPORT_FROM, OBJECT_BO, PB_PHOTOSHOP, CANCEL_CODE, CANCEL_REASON, CANCEL_DATE_TIME, CANCEL_USER, CREATED_USER, CREATED_DATA_TIME, MODIFIED_USER, MODIFIED_DATE_TIME
|
||||
</sql>
|
||||
|
||||
<!-- BaseMapper标准查询/修改/删除 -->
|
||||
<select id="selectById" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"></include> FROM Z_ABNORMAL_BILL WHERE HANDLE=#{handle}
|
||||
</select>
|
||||
|
||||
<select id="selectByMap" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"></include>
|
||||
FROM Z_ABNORMAL_BILL
|
||||
<if test="cm!=null and !cm.isEmpty">
|
||||
<where>
|
||||
<foreach collection="cm.keys" item="k" separator="AND">
|
||||
<if test="cm[k] != null">
|
||||
${k} = #{cm[${k}]}
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectBatchIds" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"></include>
|
||||
FROM Z_ABNORMAL_BILL WHERE HANDLE IN (
|
||||
<foreach item="item" index="index" collection="coll" separator=",">#{item}
|
||||
</foreach>)
|
||||
</select>
|
||||
|
||||
<select id="selectOne" resultMap="BaseResultMap">
|
||||
SELECT <include refid="Base_Column_List"></include> FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectCount" resultType="Integer">
|
||||
SELECT COUNT(1) FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectList" resultMap="BaseResultMap">
|
||||
SELECT <choose><when test="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><include refid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectMaps" resultType="HashMap">
|
||||
SELECT <choose><when test="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><include refid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectObjs" resultType="Object">
|
||||
SELECT <choose><when test="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><include refid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectPage" resultMap="BaseResultMap">
|
||||
SELECT <choose><when test="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><include refid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="selectMapsPage" resultType="HashMap">
|
||||
SELECT <choose><when test="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><include refid="Base_Column_List"></include></otherwise></choose> FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<insert id="insert" parameterType="com.foreverwin.mesnac.anomaly.model.AbnormalBill">
|
||||
INSERT INTO Z_ABNORMAL_BILL
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
HANDLE,
|
||||
<if test="site!=null">SITE,</if>
|
||||
<if test="abnormalNo!=null">ABNORMAL_NO,</if>
|
||||
<if test="status!=null">STATUS,</if>
|
||||
<if test="type!=null">TYPE,</if>
|
||||
<if test="itemBo!=null">ITEM_BO,</if>
|
||||
<if test="sfc!=null">SFC,</if>
|
||||
<if test="workCenter!=null">WORK_CENTER,</if>
|
||||
<if test="shopOrder!=null">SHOP_ORDER,</if>
|
||||
<if test="messageType!=null">MESSAGE_TYPE,</if>
|
||||
<if test="resrce!=null">RESRCE,</if>
|
||||
<if test="ncCode!=null">NC_CODE,</if>
|
||||
<if test="shutDown!=null">SHUT_DOWN,</if>
|
||||
<if test="responseUser!=null">RESPONSE_USER,</if>
|
||||
<if test="responseDateTime!=null">RESPONSE_DATE_TIME,</if>
|
||||
<if test="pbDescription!=null">PB_DESCRIPTION,</if>
|
||||
<if test="ncQty!=null">NC_QTY,</if>
|
||||
<if test="pbGrade!=null">PB_GRADE,</if>
|
||||
<if test="pbUser!=null">PB_USER,</if>
|
||||
<if test="pbQty!=null">PB_QTY,</if>
|
||||
<if test="repairDateTime!=null">REPAIR_DATE_TIME,</if>
|
||||
<if test="discover!=null">DISCOVER,</if>
|
||||
<if test="inspecter!=null">INSPECTER,</if>
|
||||
<if test="entityLocation!=null">ENTITY_LOCATION,</if>
|
||||
<if test="reportFrom!=null">REPORT_FROM,</if>
|
||||
<if test="objectBo!=null">OBJECT_BO,</if>
|
||||
<if test="pbPhotoshop!=null">PB_PHOTOSHOP,</if>
|
||||
<if test="cancelCode!=null">CANCEL_CODE,</if>
|
||||
<if test="cancelReason!=null">CANCEL_REASON,</if>
|
||||
<if test="cancelDateTime!=null">CANCEL_DATE_TIME,</if>
|
||||
<if test="cancelUser!=null">CANCEL_USER,</if>
|
||||
<if test="createdUser!=null">CREATED_USER,</if>
|
||||
<if test="createdDataTime!=null">CREATED_DATA_TIME,</if>
|
||||
<if test="modifiedUser!=null">MODIFIED_USER,</if>
|
||||
<if test="modifiedDateTime!=null">MODIFIED_DATE_TIME,</if>
|
||||
</trim> VALUES
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
#{handle},
|
||||
<if test="site!=null">#{site},</if>
|
||||
<if test="abnormalNo!=null">#{abnormalNo},</if>
|
||||
<if test="status!=null">#{status},</if>
|
||||
<if test="type!=null">#{type},</if>
|
||||
<if test="itemBo!=null">#{itemBo},</if>
|
||||
<if test="sfc!=null">#{sfc},</if>
|
||||
<if test="workCenter!=null">#{workCenter},</if>
|
||||
<if test="shopOrder!=null">#{shopOrder},</if>
|
||||
<if test="messageType!=null">#{messageType},</if>
|
||||
<if test="resrce!=null">#{resrce},</if>
|
||||
<if test="ncCode!=null">#{ncCode},</if>
|
||||
<if test="shutDown!=null">#{shutDown},</if>
|
||||
<if test="responseUser!=null">#{responseUser},</if>
|
||||
<if test="responseDateTime!=null">#{responseDateTime},</if>
|
||||
<if test="pbDescription!=null">#{pbDescription},</if>
|
||||
<if test="ncQty!=null">#{ncQty},</if>
|
||||
<if test="pbGrade!=null">#{pbGrade},</if>
|
||||
<if test="pbUser!=null">#{pbUser},</if>
|
||||
<if test="pbQty!=null">#{pbQty},</if>
|
||||
<if test="repairDateTime!=null">#{repairDateTime},</if>
|
||||
<if test="discover!=null">#{discover},</if>
|
||||
<if test="inspecter!=null">#{inspecter},</if>
|
||||
<if test="entityLocation!=null">#{entityLocation},</if>
|
||||
<if test="reportFrom!=null">#{reportFrom},</if>
|
||||
<if test="objectBo!=null">#{objectBo},</if>
|
||||
<if test="pbPhotoshop!=null">#{pbPhotoshop},</if>
|
||||
<if test="cancelCode!=null">#{cancelCode},</if>
|
||||
<if test="cancelReason!=null">#{cancelReason},</if>
|
||||
<if test="cancelDateTime!=null">#{cancelDateTime},</if>
|
||||
<if test="cancelUser!=null">#{cancelUser},</if>
|
||||
<if test="createdUser!=null">#{createdUser},</if>
|
||||
<if test="createdDataTime!=null">#{createdDataTime},</if>
|
||||
<if test="modifiedUser!=null">#{modifiedUser},</if>
|
||||
<if test="modifiedDateTime!=null">#{modifiedDateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<insert id="insertAllColumn" parameterType="com.foreverwin.mesnac.anomaly.model.AbnormalBill">
|
||||
INSERT INTO Z_ABNORMAL_BILL
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<include refid="Base_Column_List"></include>
|
||||
</trim> VALUES
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
#{handle},
|
||||
#{site},
|
||||
#{abnormalNo},
|
||||
#{status},
|
||||
#{type},
|
||||
#{itemBo},
|
||||
#{sfc},
|
||||
#{workCenter},
|
||||
#{shopOrder},
|
||||
#{messageType},
|
||||
#{resrce},
|
||||
#{ncCode},
|
||||
#{shutDown},
|
||||
#{responseUser},
|
||||
#{responseDateTime},
|
||||
#{pbDescription},
|
||||
#{ncQty},
|
||||
#{pbGrade},
|
||||
#{pbUser},
|
||||
#{pbQty},
|
||||
#{repairDateTime},
|
||||
#{discover},
|
||||
#{inspecter},
|
||||
#{entityLocation},
|
||||
#{reportFrom},
|
||||
#{objectBo},
|
||||
#{pbPhotoshop},
|
||||
#{cancelCode},
|
||||
#{cancelReason},
|
||||
#{cancelDateTime},
|
||||
#{cancelUser},
|
||||
#{createdUser},
|
||||
#{createdDataTime},
|
||||
#{modifiedUser},
|
||||
#{modifiedDateTime},
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
|
||||
<update id="updateById">
|
||||
UPDATE Z_ABNORMAL_BILL <trim prefix="SET" suffixOverrides=",">
|
||||
<if test="et.site!=null">SITE=#{et.site},</if>
|
||||
<if test="et.abnormalNo!=null">ABNORMAL_NO=#{et.abnormalNo},</if>
|
||||
<if test="et.status!=null">STATUS=#{et.status},</if>
|
||||
<if test="et.type!=null">TYPE=#{et.type},</if>
|
||||
<if test="et.itemBo!=null">ITEM_BO=#{et.itemBo},</if>
|
||||
<if test="et.sfc!=null">SFC=#{et.sfc},</if>
|
||||
<if test="et.workCenter!=null">WORK_CENTER=#{et.workCenter},</if>
|
||||
<if test="et.shopOrder!=null">SHOP_ORDER=#{et.shopOrder},</if>
|
||||
<if test="et.messageType!=null">MESSAGE_TYPE=#{et.messageType},</if>
|
||||
<if test="et.resrce!=null">RESRCE=#{et.resrce},</if>
|
||||
<if test="et.ncCode!=null">NC_CODE=#{et.ncCode},</if>
|
||||
<if test="et.shutDown!=null">SHUT_DOWN=#{et.shutDown},</if>
|
||||
<if test="et.responseUser!=null">RESPONSE_USER=#{et.responseUser},</if>
|
||||
<if test="et.responseDateTime!=null">RESPONSE_DATE_TIME=#{et.responseDateTime},</if>
|
||||
<if test="et.pbDescription!=null">PB_DESCRIPTION=#{et.pbDescription},</if>
|
||||
<if test="et.ncQty!=null">NC_QTY=#{et.ncQty},</if>
|
||||
<if test="et.pbGrade!=null">PB_GRADE=#{et.pbGrade},</if>
|
||||
<if test="et.pbUser!=null">PB_USER=#{et.pbUser},</if>
|
||||
<if test="et.pbQty!=null">PB_QTY=#{et.pbQty},</if>
|
||||
<if test="et.repairDateTime!=null">REPAIR_DATE_TIME=#{et.repairDateTime},</if>
|
||||
<if test="et.discover!=null">DISCOVER=#{et.discover},</if>
|
||||
<if test="et.inspecter!=null">INSPECTER=#{et.inspecter},</if>
|
||||
<if test="et.entityLocation!=null">ENTITY_LOCATION=#{et.entityLocation},</if>
|
||||
<if test="et.reportFrom!=null">REPORT_FROM=#{et.reportFrom},</if>
|
||||
<if test="et.objectBo!=null">OBJECT_BO=#{et.objectBo},</if>
|
||||
<if test="et.pbPhotoshop!=null">PB_PHOTOSHOP=#{et.pbPhotoshop},</if>
|
||||
<if test="et.cancelCode!=null">CANCEL_CODE=#{et.cancelCode},</if>
|
||||
<if test="et.cancelReason!=null">CANCEL_REASON=#{et.cancelReason},</if>
|
||||
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</if>
|
||||
<if test="et.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</if>
|
||||
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</if>
|
||||
<if test="et.createdDataTime!=null">CREATED_DATA_TIME=#{et.createdDataTime},</if>
|
||||
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
||||
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
|
||||
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
|
||||
</update>
|
||||
|
||||
|
||||
<update id="updateAllColumnById">
|
||||
UPDATE Z_ABNORMAL_BILL <trim prefix="SET" suffixOverrides=",">
|
||||
SITE=#{et.site},
|
||||
ABNORMAL_NO=#{et.abnormalNo},
|
||||
STATUS=#{et.status},
|
||||
TYPE=#{et.type},
|
||||
ITEM_BO=#{et.itemBo},
|
||||
SFC=#{et.sfc},
|
||||
WORK_CENTER=#{et.workCenter},
|
||||
SHOP_ORDER=#{et.shopOrder},
|
||||
MESSAGE_TYPE=#{et.messageType},
|
||||
RESRCE=#{et.resrce},
|
||||
NC_CODE=#{et.ncCode},
|
||||
SHUT_DOWN=#{et.shutDown},
|
||||
RESPONSE_USER=#{et.responseUser},
|
||||
RESPONSE_DATE_TIME=#{et.responseDateTime},
|
||||
PB_DESCRIPTION=#{et.pbDescription},
|
||||
NC_QTY=#{et.ncQty},
|
||||
PB_GRADE=#{et.pbGrade},
|
||||
PB_USER=#{et.pbUser},
|
||||
PB_QTY=#{et.pbQty},
|
||||
REPAIR_DATE_TIME=#{et.repairDateTime},
|
||||
DISCOVER=#{et.discover},
|
||||
INSPECTER=#{et.inspecter},
|
||||
ENTITY_LOCATION=#{et.entityLocation},
|
||||
REPORT_FROM=#{et.reportFrom},
|
||||
OBJECT_BO=#{et.objectBo},
|
||||
PB_PHOTOSHOP=#{et.pbPhotoshop},
|
||||
CANCEL_CODE=#{et.cancelCode},
|
||||
CANCEL_REASON=#{et.cancelReason},
|
||||
CANCEL_DATE_TIME=#{et.cancelDateTime},
|
||||
CANCEL_USER=#{et.cancelUser},
|
||||
CREATED_USER=#{et.createdUser},
|
||||
CREATED_DATA_TIME=#{et.createdDataTime},
|
||||
MODIFIED_USER=#{et.modifiedUser},
|
||||
MODIFIED_DATE_TIME=#{et.modifiedDateTime},
|
||||
</trim> WHERE HANDLE=#{et.handle} <if test="et instanceof java.util.Map"><if test="et.MP_OPTLOCK_VERSION_ORIGINAL!=null">and ${et.MP_OPTLOCK_VERSION_COLUMN}=#{et.MP_OPTLOCK_VERSION_ORIGINAL}</if></if>
|
||||
</update>
|
||||
|
||||
|
||||
<update id="update">
|
||||
UPDATE Z_ABNORMAL_BILL <trim prefix="SET" suffixOverrides=",">
|
||||
<if test="et.site!=null">SITE=#{et.site},</if>
|
||||
<if test="et.abnormalNo!=null">ABNORMAL_NO=#{et.abnormalNo},</if>
|
||||
<if test="et.status!=null">STATUS=#{et.status},</if>
|
||||
<if test="et.type!=null">TYPE=#{et.type},</if>
|
||||
<if test="et.itemBo!=null">ITEM_BO=#{et.itemBo},</if>
|
||||
<if test="et.sfc!=null">SFC=#{et.sfc},</if>
|
||||
<if test="et.workCenter!=null">WORK_CENTER=#{et.workCenter},</if>
|
||||
<if test="et.shopOrder!=null">SHOP_ORDER=#{et.shopOrder},</if>
|
||||
<if test="et.messageType!=null">MESSAGE_TYPE=#{et.messageType},</if>
|
||||
<if test="et.resrce!=null">RESRCE=#{et.resrce},</if>
|
||||
<if test="et.ncCode!=null">NC_CODE=#{et.ncCode},</if>
|
||||
<if test="et.shutDown!=null">SHUT_DOWN=#{et.shutDown},</if>
|
||||
<if test="et.responseUser!=null">RESPONSE_USER=#{et.responseUser},</if>
|
||||
<if test="et.responseDateTime!=null">RESPONSE_DATE_TIME=#{et.responseDateTime},</if>
|
||||
<if test="et.pbDescription!=null">PB_DESCRIPTION=#{et.pbDescription},</if>
|
||||
<if test="et.ncQty!=null">NC_QTY=#{et.ncQty},</if>
|
||||
<if test="et.pbGrade!=null">PB_GRADE=#{et.pbGrade},</if>
|
||||
<if test="et.pbUser!=null">PB_USER=#{et.pbUser},</if>
|
||||
<if test="et.pbQty!=null">PB_QTY=#{et.pbQty},</if>
|
||||
<if test="et.repairDateTime!=null">REPAIR_DATE_TIME=#{et.repairDateTime},</if>
|
||||
<if test="et.discover!=null">DISCOVER=#{et.discover},</if>
|
||||
<if test="et.inspecter!=null">INSPECTER=#{et.inspecter},</if>
|
||||
<if test="et.entityLocation!=null">ENTITY_LOCATION=#{et.entityLocation},</if>
|
||||
<if test="et.reportFrom!=null">REPORT_FROM=#{et.reportFrom},</if>
|
||||
<if test="et.objectBo!=null">OBJECT_BO=#{et.objectBo},</if>
|
||||
<if test="et.pbPhotoshop!=null">PB_PHOTOSHOP=#{et.pbPhotoshop},</if>
|
||||
<if test="et.cancelCode!=null">CANCEL_CODE=#{et.cancelCode},</if>
|
||||
<if test="et.cancelReason!=null">CANCEL_REASON=#{et.cancelReason},</if>
|
||||
<if test="et.cancelDateTime!=null">CANCEL_DATE_TIME=#{et.cancelDateTime},</if>
|
||||
<if test="et.cancelUser!=null">CANCEL_USER=#{et.cancelUser},</if>
|
||||
<if test="et.createdUser!=null">CREATED_USER=#{et.createdUser},</if>
|
||||
<if test="et.createdDataTime!=null">CREATED_DATA_TIME=#{et.createdDataTime},</if>
|
||||
<if test="et.modifiedUser!=null">MODIFIED_USER=#{et.modifiedUser},</if>
|
||||
<if test="et.modifiedDateTime!=null">MODIFIED_DATE_TIME=#{et.modifiedDateTime},</if>
|
||||
</trim>
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</update>
|
||||
|
||||
<delete id="deleteById">
|
||||
DELETE FROM Z_ABNORMAL_BILL WHERE HANDLE=#{handle}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteByMap">
|
||||
DELETE FROM Z_ABNORMAL_BILL
|
||||
<if test="cm!=null and !cm.isEmpty">
|
||||
<where>
|
||||
<foreach collection="cm.keys" item="k" separator="AND">
|
||||
<if test="cm[k] != null">
|
||||
${k} = #{cm[${k}]}
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</if>
|
||||
</delete>
|
||||
|
||||
<delete id="delete">
|
||||
DELETE FROM Z_ABNORMAL_BILL
|
||||
<where>
|
||||
<if test="ew!=null">
|
||||
<if test="ew.entity!=null">
|
||||
<if test="ew.entity.handle!=null">
|
||||
HANDLE=#{ew.entity.handle}
|
||||
</if>
|
||||
<if test="ew.entity.site!=null"> AND SITE=#{ew.entity.site}</if>
|
||||
<if test="ew.entity.abnormalNo!=null"> AND ABNORMAL_NO=#{ew.entity.abnormalNo}</if>
|
||||
<if test="ew.entity.status!=null"> AND STATUS=#{ew.entity.status}</if>
|
||||
<if test="ew.entity.type!=null"> AND TYPE=#{ew.entity.type}</if>
|
||||
<if test="ew.entity.itemBo!=null"> AND ITEM_BO=#{ew.entity.itemBo}</if>
|
||||
<if test="ew.entity.sfc!=null"> AND SFC=#{ew.entity.sfc}</if>
|
||||
<if test="ew.entity.workCenter!=null"> AND WORK_CENTER=#{ew.entity.workCenter}</if>
|
||||
<if test="ew.entity.shopOrder!=null"> AND SHOP_ORDER=#{ew.entity.shopOrder}</if>
|
||||
<if test="ew.entity.messageType!=null"> AND MESSAGE_TYPE=#{ew.entity.messageType}</if>
|
||||
<if test="ew.entity.resrce!=null"> AND RESRCE=#{ew.entity.resrce}</if>
|
||||
<if test="ew.entity.ncCode!=null"> AND NC_CODE=#{ew.entity.ncCode}</if>
|
||||
<if test="ew.entity.shutDown!=null"> AND SHUT_DOWN=#{ew.entity.shutDown}</if>
|
||||
<if test="ew.entity.responseUser!=null"> AND RESPONSE_USER=#{ew.entity.responseUser}</if>
|
||||
<if test="ew.entity.responseDateTime!=null"> AND RESPONSE_DATE_TIME=#{ew.entity.responseDateTime}</if>
|
||||
<if test="ew.entity.pbDescription!=null"> AND PB_DESCRIPTION=#{ew.entity.pbDescription}</if>
|
||||
<if test="ew.entity.ncQty!=null"> AND NC_QTY=#{ew.entity.ncQty}</if>
|
||||
<if test="ew.entity.pbGrade!=null"> AND PB_GRADE=#{ew.entity.pbGrade}</if>
|
||||
<if test="ew.entity.pbUser!=null"> AND PB_USER=#{ew.entity.pbUser}</if>
|
||||
<if test="ew.entity.pbQty!=null"> AND PB_QTY=#{ew.entity.pbQty}</if>
|
||||
<if test="ew.entity.repairDateTime!=null"> AND REPAIR_DATE_TIME=#{ew.entity.repairDateTime}</if>
|
||||
<if test="ew.entity.discover!=null"> AND DISCOVER=#{ew.entity.discover}</if>
|
||||
<if test="ew.entity.inspecter!=null"> AND INSPECTER=#{ew.entity.inspecter}</if>
|
||||
<if test="ew.entity.entityLocation!=null"> AND ENTITY_LOCATION=#{ew.entity.entityLocation}</if>
|
||||
<if test="ew.entity.reportFrom!=null"> AND REPORT_FROM=#{ew.entity.reportFrom}</if>
|
||||
<if test="ew.entity.objectBo!=null"> AND OBJECT_BO=#{ew.entity.objectBo}</if>
|
||||
<if test="ew.entity.pbPhotoshop!=null"> AND PB_PHOTOSHOP=#{ew.entity.pbPhotoshop}</if>
|
||||
<if test="ew.entity.cancelCode!=null"> AND CANCEL_CODE=#{ew.entity.cancelCode}</if>
|
||||
<if test="ew.entity.cancelReason!=null"> AND CANCEL_REASON=#{ew.entity.cancelReason}</if>
|
||||
<if test="ew.entity.cancelDateTime!=null"> AND CANCEL_DATE_TIME=#{ew.entity.cancelDateTime}</if>
|
||||
<if test="ew.entity.cancelUser!=null"> AND CANCEL_USER=#{ew.entity.cancelUser}</if>
|
||||
<if test="ew.entity.createdUser!=null"> AND CREATED_USER=#{ew.entity.createdUser}</if>
|
||||
<if test="ew.entity.createdDataTime!=null"> AND CREATED_DATA_TIME=#{ew.entity.createdDataTime}</if>
|
||||
<if test="ew.entity.modifiedUser!=null"> AND MODIFIED_USER=#{ew.entity.modifiedUser}</if>
|
||||
<if test="ew.entity.modifiedDateTime!=null"> AND MODIFIED_DATE_TIME=#{ew.entity.modifiedDateTime}</if>
|
||||
</if>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</if>
|
||||
</where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.emptyOfWhere">
|
||||
${ew.sqlSegment}
|
||||
</if>
|
||||
</delete>
|
||||
|
||||
<delete id="deleteBatchIds">
|
||||
DELETE FROM Z_ABNORMAL_BILL WHERE HANDLE IN (
|
||||
<foreach item="item" index="index" collection="coll" separator=",">#{item}
|
||||
</foreach>)
|
||||
</delete>
|
||||
<!-- BaseMapper标准查询/修改/删除 -->
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue