Merge remote-tracking branch 'origin/master'
commit
e6b7588488
@ -0,0 +1,91 @@
|
||||
main [17:25:52:968]: ******************** Wed Dec 13 17:25:52 CST 2023 ***************************
|
||||
main [17:25:52:968]: SAP Java Connector (JCo) runtime information
|
||||
main [17:25:52:968]: Java Runtime:
|
||||
main [17:25:52:968]: Operating System : Windows 11 10.0 for amd64
|
||||
main [17:25:52:968]: Java VM : 1.8.0_321 Oracle Corporation
|
||||
main [17:25:52:968]: Java Codepage : UTF8
|
||||
main [17:25:52:968]: Versions:
|
||||
main [17:25:52:968]: JCo API : 3.0.8 (2011-11-28)
|
||||
main [17:25:52:968]: JCo middleware name : JavaRfc
|
||||
main [17:25:52:969]: JCo middleware : 2.2.7
|
||||
main [17:25:52:969]: JCo middleware native : 721.619
|
||||
main [17:25:52:969]: JCo library : D:\KHDF\op-modules\op-sap\sapjco3.dll
|
||||
main [17:25:52:969]:
|
||||
main [17:25:52:969]: ******************** Configuration ***************************
|
||||
jco.trace_level = 1
|
||||
jco.trace_path = .
|
||||
|
||||
|
||||
main [17:25:52:969]: *********************************************************************
|
||||
main [17:25:52:969]: Exception while setting system property to JCo property: jco.cpic_maxconv=202 com.sap.conn.jco.JCoRuntimeException: (131) JCO_ERROR_ILLEGAL_ARGUMENT: Value of property jco.cpic_maxconv causes null
|
||||
at com.sap.conn.jco.rt.JCoRuntime.setPropertyValue(JCoRuntime.java:888)
|
||||
at com.sap.conn.jco.rt.DefaultJCoRuntime.setPropertyValue(DefaultJCoRuntime.java:577)
|
||||
at com.sap.conn.jco.rt.JCoRuntime.setSystemProperty(JCoRuntime.java:149)
|
||||
at com.sap.conn.jco.rt.DefaultJCoRuntime.readSystemProperties(DefaultJCoRuntime.java:100)
|
||||
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:24)
|
||||
at java.lang.Class.forName0(Native Method)
|
||||
at java.lang.Class.forName(Class.java:264)
|
||||
at com.sap.conn.jco.JCo.createJCo(JCo.java:52)
|
||||
at com.sap.conn.jco.JCo.<clinit>(JCo.java:26)
|
||||
at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:77)
|
||||
at com.op.sap.util.SAPConnUtils.connect(SAPConnUtils.java:24)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.lang.reflect.Method.invoke(Method.java:498)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:486)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
|
||||
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
||||
at com.op.sap.SapApplication.main(SapApplication.java:20)
|
||||
Caused by: java.lang.NullPointerException
|
||||
at com.sap.conn.rfc.engine.Trc.criticalTrace(Trc.java:472)
|
||||
at com.sap.conn.rfc.driver.CpicDriver.setCpicMaxConv(CpicDriver.java:1061)
|
||||
at com.sap.conn.rfc.engine.DefaultRfcRuntime.setCpicMaxConv(DefaultRfcRuntime.java:113)
|
||||
at com.sap.conn.jco.rt.JCoRuntime.setPropertyValue(JCoRuntime.java:873)
|
||||
... 63 more
|
||||
|
@ -1,118 +1,74 @@
|
||||
|
||||
**** Error file opened at 20231205 092106 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Tue Dec 05 09:21:06,526< RfcException: [null]
|
||||
message: Connect to SAP gateway failed
|
||||
Connection parameters: TYPE=A DEST=ABAP_AS_WITH_POOL ASHOST=192.168.230.50 SYSNR=00 PCS=1
|
||||
|
||||
LOCATION CPIC (TCP/IP) on local host with Unicode
|
||||
ERROR partner '192.168.230.50:3300' not reached
|
||||
TIME Tue Dec 05 09:21:06 2023
|
||||
RELEASE 721
|
||||
COMPONENT NI (network interface)
|
||||
VERSION 40
|
||||
RC -10
|
||||
MODULE nixxi.cpp
|
||||
LINE 3283
|
||||
DETAIL NiPConnect2: 192.168.230.50:3300
|
||||
SYSTEM CALL connect
|
||||
ERRNO 10060
|
||||
ERRNO TEXT WSAETIMEDOUT: Connection timed out
|
||||
COUNTER 2
|
||||
|
||||
Return code: RFC_FAILURE(1)
|
||||
error group: 102
|
||||
key: RFC_ERROR_COMMUNICATION
|
||||
|
||||
Error: >Tue Dec 05 09:23:26,607< RfcException: [null]
|
||||
message: Connect to SAP gateway failed
|
||||
Connection parameters: TYPE=A DEST=ABAP_AS_WITH_POOL ASHOST=192.168.230.50 SYSNR=00 PCS=1
|
||||
|
||||
LOCATION CPIC (TCP/IP) on local host with Unicode
|
||||
ERROR partner '192.168.230.50:3300' not reached
|
||||
TIME Tue Dec 05 09:23:26 2023
|
||||
RELEASE 721
|
||||
COMPONENT NI (network interface)
|
||||
VERSION 40
|
||||
RC -10
|
||||
MODULE nixxi.cpp
|
||||
LINE 3283
|
||||
DETAIL NiPConnect2: 192.168.230.50:3300
|
||||
SYSTEM CALL connect
|
||||
ERRNO 10060
|
||||
ERRNO TEXT WSAETIMEDOUT: Connection timed out
|
||||
COUNTER 2
|
||||
|
||||
Return code: RFC_FAILURE(1)
|
||||
error group: 102
|
||||
key: RFC_ERROR_COMMUNICATION
|
||||
|
||||
|
||||
**** Error file opened at 20231205 100000 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Tue Dec 05 10:00:00,058< >RfcGetException rc (7) message: 数值范围对象 ZMESPROID 不存在
|
||||
<RfcGetException
|
||||
|
||||
Error: >Tue Dec 05 10:01:14,955< >RfcGetException rc (7) message: 数值范围对象 ZMESPROID 不存在
|
||||
<RfcGetException
|
||||
|
||||
|
||||
**** Error file opened at 20231208 164650 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Fri Dec 08 16:46:50,007< >RfcGetException rc (7) message: ##.#####,####
|
||||
<RfcGetException
|
||||
|
||||
Error: >Fri Dec 08 16:49:21,354< >RfcGetException rc (7) message: ##.#####,####
|
||||
<RfcGetException
|
||||
|
||||
|
||||
**** Error file opened at 20231208 165102 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Fri Dec 08 16:51:02,041< >RfcGetException rc (7) message: ##.#####,####
|
||||
<RfcGetException
|
||||
|
||||
|
||||
**** Error file opened at 20231211 151721 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Mon Dec 11 15:17:21,694< >RfcGetException rc (7) message: ##.#####,####
|
||||
<RfcGetException
|
||||
|
||||
|
||||
**** Error file opened at 20231211 160016 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: [1] >Mon Dec 11 16:00:16,825< RfcException: [DEV|erpdev]
|
||||
message: connection closed without message (CM_NO_DATA_RECEIVED)
|
||||
Return code: RFC_CLOSED(6)
|
||||
error group: 102
|
||||
key: RFC_ERROR_COMMUNICATION
|
||||
Exception raised by DEV|erpdev
|
||||
|
||||
|
||||
**** Error file opened at 20231211 172940 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Mon Dec 11 17:29:40,539< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
Error: >Mon Dec 11 17:30:08,292< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
Error: >Mon Dec 11 17:30:54,764< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
|
||||
**** Error file opened at 20231211 173328 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Mon Dec 11 17:33:28,521< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
Error: >Mon Dec 11 17:35:37,983< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
|
||||
**** Error file opened at 20231211 173748 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Mon Dec 11 17:37:48,395< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
|
||||
**** Error file opened at 20231211 182025 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Error: >Mon Dec 11 18:20:25,371< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
Error: >Mon Dec 11 18:20:41,130< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
|
||||
Error: >Mon Dec 11 18:21:52,709< >RfcGetException rc (7) message: Syntax error in program SAPLZMES .
|
||||
<RfcGetException
|
||||
**** Error file opened at 20231213 172552 China Standard Time Rel 3.0.8 (2011-11-28) [721.619]
|
||||
Info: >Wed Dec 13 17:25:52,970< [JCoAPI] Exception while setting system property to JCo property: jco.cpic_maxconv=202 com.sap.conn.jco.JCoRuntimeException: (131) JCO_ERROR_ILLEGAL_ARGUMENT: Value of property jco.cpic_maxconv causes null
|
||||
at com.sap.conn.jco.rt.JCoRuntime.setPropertyValue(JCoRuntime.java:888)
|
||||
at com.sap.conn.jco.rt.DefaultJCoRuntime.setPropertyValue(DefaultJCoRuntime.java:577)
|
||||
at com.sap.conn.jco.rt.JCoRuntime.setSystemProperty(JCoRuntime.java:149)
|
||||
at com.sap.conn.jco.rt.DefaultJCoRuntime.readSystemProperties(DefaultJCoRuntime.java:100)
|
||||
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:24)
|
||||
at java.lang.Class.forName0(Native Method)
|
||||
at java.lang.Class.forName(Class.java:264)
|
||||
at com.sap.conn.jco.JCo.createJCo(JCo.java:52)
|
||||
at com.sap.conn.jco.JCo.<clinit>(JCo.java:26)
|
||||
at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:77)
|
||||
at com.op.sap.util.SAPConnUtils.connect(SAPConnUtils.java:24)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.lang.reflect.Method.invoke(Method.java:498)
|
||||
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653)
|
||||
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:486)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
||||
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1391)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:657)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
|
||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
|
||||
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1431)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619)
|
||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
|
||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
|
||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
|
||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
|
||||
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
|
||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
|
||||
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:147)
|
||||
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:731)
|
||||
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:408)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303)
|
||||
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292)
|
||||
at com.op.sap.SapApplication.main(SapApplication.java:20)
|
||||
Caused by: java.lang.NullPointerException
|
||||
at com.sap.conn.rfc.engine.Trc.criticalTrace(Trc.java:472)
|
||||
at com.sap.conn.rfc.driver.CpicDriver.setCpicMaxConv(CpicDriver.java:1061)
|
||||
at com.sap.conn.rfc.engine.DefaultRfcRuntime.setCpicMaxConv(DefaultRfcRuntime.java:113)
|
||||
at com.sap.conn.jco.rt.JCoRuntime.setPropertyValue(JCoRuntime.java:873)
|
||||
... 63 more
|
||||
|
||||
|
@ -0,0 +1,376 @@
|
||||
package com.op.system.api.domain.quality;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.op.common.core.annotation.Excel;
|
||||
import com.op.common.core.web.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 成品入库检验任务对象 qc_check_task_warehousing
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-10-19
|
||||
*/
|
||||
public class QcCheckTaskWarehousingDTO extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** id */
|
||||
private String recordId;
|
||||
|
||||
/** 检验任务编号 */
|
||||
@Excel(name = "检验任务编号")
|
||||
private String checkNo;
|
||||
|
||||
/** 批次号 */
|
||||
@Excel(name = "批次号")
|
||||
private String incomeBatchNo;
|
||||
|
||||
/** 订单号 */
|
||||
@Excel(name = "订单号")
|
||||
private String orderNo;
|
||||
|
||||
/** 物料号 */
|
||||
@Excel(name = "物料号")
|
||||
private String materialCode;
|
||||
|
||||
/** 物料名称 */
|
||||
@Excel(name = "物料名称")
|
||||
private String materialName;
|
||||
|
||||
/** 数量 */
|
||||
@Excel(name = "数量")
|
||||
private BigDecimal quality;
|
||||
|
||||
/** 单位 */
|
||||
@Excel(name = "单位")
|
||||
private String unit;
|
||||
|
||||
/** 仓库编码 */
|
||||
@Excel(name = "仓库编码")
|
||||
private String supplierCode;
|
||||
|
||||
/** 仓库名称 */
|
||||
@Excel(name = "仓库名称")
|
||||
private String supplierName;
|
||||
|
||||
/** 来料时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date incomeTime;
|
||||
|
||||
/** 检测地点 */
|
||||
@Excel(name = "检测地点")
|
||||
private String checkLoc;
|
||||
|
||||
/** 检测状态 */
|
||||
@Excel(name = "检测状态")
|
||||
private String checkStatus;
|
||||
|
||||
/** 检测人工号 */
|
||||
@Excel(name = "检测人工号")
|
||||
private String checkManCode;
|
||||
|
||||
/** 检测人姓名 */
|
||||
@Excel(name = "检测人姓名")
|
||||
private String checkManName;
|
||||
|
||||
/** 检验时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Excel(name = "检验时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date checkTime;
|
||||
|
||||
/** 检验结果Y合格 */
|
||||
@Excel(name = "检验结果Y合格")
|
||||
private String checkResult;
|
||||
|
||||
/** 是否启用1启用0停用 */
|
||||
@Excel(name = "是否启用1启用0停用")
|
||||
private String status;
|
||||
|
||||
/** 预留字段1 */
|
||||
@Excel(name = "预留字段1")
|
||||
private String attr1;
|
||||
|
||||
/** 预留字段2 */
|
||||
@Excel(name = "预留字段2")
|
||||
private String attr2;
|
||||
|
||||
/** 预留字段3 */
|
||||
@Excel(name = "预留字段3")
|
||||
private String attr3;
|
||||
|
||||
/** 预留字段4 */
|
||||
@Excel(name = "预留字段4")
|
||||
private String attr4;
|
||||
|
||||
/** 工厂编码 */
|
||||
@Excel(name = "工厂编码")
|
||||
private String factoryCode;
|
||||
|
||||
/** 删除标识1删除0正常 */
|
||||
private String delFlag;
|
||||
|
||||
private String incomeTimeStart;
|
||||
private String incomeTimeEnd;
|
||||
private String checkTimeStart;
|
||||
private String checkTimeEnd;
|
||||
private String typeCode;
|
||||
private String checkType;
|
||||
|
||||
public String getCheckType() {
|
||||
return checkType;
|
||||
}
|
||||
|
||||
public void setCheckType(String checkType) {
|
||||
this.checkType = checkType;
|
||||
}
|
||||
|
||||
public String getIncomeTimeStart() {
|
||||
return incomeTimeStart;
|
||||
}
|
||||
|
||||
public void setIncomeTimeStart(String incomeTimeStart) {
|
||||
this.incomeTimeStart = incomeTimeStart;
|
||||
}
|
||||
|
||||
public String getIncomeTimeEnd() {
|
||||
return incomeTimeEnd;
|
||||
}
|
||||
|
||||
public void setIncomeTimeEnd(String incomeTimeEnd) {
|
||||
this.incomeTimeEnd = incomeTimeEnd;
|
||||
}
|
||||
|
||||
public String getCheckTimeStart() {
|
||||
return checkTimeStart;
|
||||
}
|
||||
|
||||
public void setCheckTimeStart(String checkTimeStart) {
|
||||
this.checkTimeStart = checkTimeStart;
|
||||
}
|
||||
|
||||
public String getCheckTimeEnd() {
|
||||
return checkTimeEnd;
|
||||
}
|
||||
|
||||
public void setCheckTimeEnd(String checkTimeEnd) {
|
||||
this.checkTimeEnd = checkTimeEnd;
|
||||
}
|
||||
|
||||
public String getTypeCode() {
|
||||
return typeCode;
|
||||
}
|
||||
|
||||
public void setTypeCode(String typeCode) {
|
||||
this.typeCode = typeCode;
|
||||
}
|
||||
|
||||
public void setRecordId(String recordId) {
|
||||
this.recordId = recordId;
|
||||
}
|
||||
|
||||
public String getRecordId() {
|
||||
return recordId;
|
||||
}
|
||||
public void setCheckNo(String checkNo) {
|
||||
this.checkNo = checkNo;
|
||||
}
|
||||
|
||||
public String getCheckNo() {
|
||||
return checkNo;
|
||||
}
|
||||
|
||||
public void setOrderNo(String orderNo) {
|
||||
this.orderNo = orderNo;
|
||||
}
|
||||
|
||||
public String getOrderNo() {
|
||||
return orderNo;
|
||||
}
|
||||
public void setMaterialCode(String materialCode) {
|
||||
this.materialCode = materialCode;
|
||||
}
|
||||
|
||||
public String getMaterialCode() {
|
||||
return materialCode;
|
||||
}
|
||||
public void setMaterialName(String materialName) {
|
||||
this.materialName = materialName;
|
||||
}
|
||||
|
||||
public String getMaterialName() {
|
||||
return materialName;
|
||||
}
|
||||
public void setQuality(BigDecimal quality) {
|
||||
this.quality = quality;
|
||||
}
|
||||
|
||||
public BigDecimal getQuality() {
|
||||
return quality;
|
||||
}
|
||||
public void setUnit(String unit) {
|
||||
this.unit = unit;
|
||||
}
|
||||
|
||||
public String getUnit() {
|
||||
return unit;
|
||||
}
|
||||
public void setSupplierCode(String supplierCode) {
|
||||
this.supplierCode = supplierCode;
|
||||
}
|
||||
|
||||
public String getSupplierCode() {
|
||||
return supplierCode;
|
||||
}
|
||||
public void setSupplierName(String supplierName) {
|
||||
this.supplierName = supplierName;
|
||||
}
|
||||
|
||||
public String getSupplierName() {
|
||||
return supplierName;
|
||||
}
|
||||
public void setIncomeTime(Date incomeTime) {
|
||||
this.incomeTime = incomeTime;
|
||||
}
|
||||
|
||||
public Date getIncomeTime() {
|
||||
return incomeTime;
|
||||
}
|
||||
public void setCheckLoc(String checkLoc) {
|
||||
this.checkLoc = checkLoc;
|
||||
}
|
||||
|
||||
public String getCheckLoc() {
|
||||
return checkLoc;
|
||||
}
|
||||
public void setCheckStatus(String checkStatus) {
|
||||
this.checkStatus = checkStatus;
|
||||
}
|
||||
|
||||
public String getCheckStatus() {
|
||||
return checkStatus;
|
||||
}
|
||||
public void setCheckManCode(String checkManCode) {
|
||||
this.checkManCode = checkManCode;
|
||||
}
|
||||
|
||||
public String getCheckManCode() {
|
||||
return checkManCode;
|
||||
}
|
||||
public void setCheckManName(String checkManName) {
|
||||
this.checkManName = checkManName;
|
||||
}
|
||||
|
||||
public String getCheckManName() {
|
||||
return checkManName;
|
||||
}
|
||||
public void setCheckTime(Date checkTime) {
|
||||
this.checkTime = checkTime;
|
||||
}
|
||||
|
||||
public Date getCheckTime() {
|
||||
return checkTime;
|
||||
}
|
||||
public void setCheckResult(String checkResult) {
|
||||
this.checkResult = checkResult;
|
||||
}
|
||||
|
||||
public String getCheckResult() {
|
||||
return checkResult;
|
||||
}
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
public void setAttr1(String attr1) {
|
||||
this.attr1 = attr1;
|
||||
}
|
||||
|
||||
public String getAttr1() {
|
||||
return attr1;
|
||||
}
|
||||
public void setAttr2(String attr2) {
|
||||
this.attr2 = attr2;
|
||||
}
|
||||
|
||||
public String getAttr2() {
|
||||
return attr2;
|
||||
}
|
||||
public void setAttr3(String attr3) {
|
||||
this.attr3 = attr3;
|
||||
}
|
||||
|
||||
public String getAttr3() {
|
||||
return attr3;
|
||||
}
|
||||
public void setAttr4(String attr4) {
|
||||
this.attr4 = attr4;
|
||||
}
|
||||
|
||||
public String getAttr4() {
|
||||
return attr4;
|
||||
}
|
||||
public void setFactoryCode(String factoryCode) {
|
||||
this.factoryCode = factoryCode;
|
||||
}
|
||||
|
||||
public String getFactoryCode() {
|
||||
return factoryCode;
|
||||
}
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
public String getIncomeBatchNo() {
|
||||
return incomeBatchNo;
|
||||
}
|
||||
|
||||
public void setIncomeBatchNo(String incomeBatchNo) {
|
||||
this.incomeBatchNo = incomeBatchNo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("recordId", getRecordId())
|
||||
.append("checkNo", getCheckNo())
|
||||
.append("incomeBatchNo", getIncomeBatchNo())
|
||||
.append("orderNo", getOrderNo())
|
||||
.append("materialCode", getMaterialCode())
|
||||
.append("materialName", getMaterialName())
|
||||
.append("quality", getQuality())
|
||||
.append("unit", getUnit())
|
||||
.append("supplierCode", getSupplierCode())
|
||||
.append("supplierName", getSupplierName())
|
||||
.append("incomeTime", getIncomeTime())
|
||||
.append("checkLoc", getCheckLoc())
|
||||
.append("checkStatus", getCheckStatus())
|
||||
.append("checkManCode", getCheckManCode())
|
||||
.append("checkManName", getCheckManName())
|
||||
.append("checkTime", getCheckTime())
|
||||
.append("checkResult", getCheckResult())
|
||||
.append("status", getStatus())
|
||||
.append("attr1", getAttr1())
|
||||
.append("attr2", getAttr2())
|
||||
.append("attr3", getAttr3())
|
||||
.append("attr4", getAttr4())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("factoryCode", getFactoryCode())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.op.quality.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.op.common.log.annotation.Log;
|
||||
import com.op.common.log.enums.BusinessType;
|
||||
import com.op.common.security.annotation.RequiresPermissions;
|
||||
import com.op.quality.domain.WmsRawOrderIn;
|
||||
import com.op.quality.service.IWmsRawOrderInService;
|
||||
import com.op.common.core.web.controller.BaseController;
|
||||
import com.op.common.core.web.domain.AjaxResult;
|
||||
import com.op.common.core.utils.poi.ExcelUtil;
|
||||
import com.op.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 白坯手动入库单Controller
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-12-26
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/bPproduct")
|
||||
public class WmsRawOrderInController extends BaseController {
|
||||
@Autowired
|
||||
private IWmsRawOrderInService wmsRawOrderInService;
|
||||
|
||||
/**
|
||||
* 查询白坯手动入库单列表
|
||||
*/
|
||||
@RequiresPermissions("quality:bPproduct:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(WmsRawOrderIn wmsRawOrderIn) {
|
||||
startPage();
|
||||
List<WmsRawOrderIn> list = wmsRawOrderInService.selectWmsRawOrderInList(wmsRawOrderIn);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出白坯手动入库单列表
|
||||
*/
|
||||
@RequiresPermissions("quality:bPproduct:export")
|
||||
@Log(title = "白坯手动入库单", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, WmsRawOrderIn wmsRawOrderIn) {
|
||||
List<WmsRawOrderIn> list = wmsRawOrderInService.selectWmsRawOrderInList(wmsRawOrderIn);
|
||||
ExcelUtil<WmsRawOrderIn> util = new ExcelUtil<WmsRawOrderIn>(WmsRawOrderIn.class);
|
||||
util.exportExcel(response, list, "白坯手动入库单数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取白坯手动入库单详细信息
|
||||
*/
|
||||
@RequiresPermissions("quality:bPproduct:query")
|
||||
@GetMapping(value = "/{rawOrderInId}")
|
||||
public AjaxResult getInfo(@PathVariable("rawOrderInId") String rawOrderInId) {
|
||||
return success(wmsRawOrderInService.selectWmsRawOrderInByRawOrderInId(rawOrderInId));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增白坯手动入库单
|
||||
*/
|
||||
@RequiresPermissions("quality:bPproduct:add")
|
||||
@Log(title = "白坯手动入库单", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody WmsRawOrderIn wmsRawOrderIn) {
|
||||
return toAjax(wmsRawOrderInService.insertWmsRawOrderIn(wmsRawOrderIn));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改白坯手动入库单
|
||||
*/
|
||||
@RequiresPermissions("quality:bPproduct:edit")
|
||||
@Log(title = "白坯手动入库单", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody WmsRawOrderIn wmsRawOrderIn) {
|
||||
return toAjax(wmsRawOrderInService.updateWmsRawOrderIn(wmsRawOrderIn));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除白坯手动入库单
|
||||
*/
|
||||
@RequiresPermissions("quality:bPproduct:remove")
|
||||
@Log(title = "白坯手动入库单", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{rawOrderInIds}")
|
||||
public AjaxResult remove(@PathVariable String[] rawOrderInIds) {
|
||||
return toAjax(wmsRawOrderInService.deleteWmsRawOrderInByRawOrderInIds(rawOrderInIds));
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.op.quality.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.op.quality.domain.WmsRawOrderIn;
|
||||
|
||||
/**
|
||||
* 白坯手动入库单Mapper接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-12-26
|
||||
*/
|
||||
public interface WmsRawOrderInMapper {
|
||||
/**
|
||||
* 查询白坯手动入库单
|
||||
*
|
||||
* @param rawOrderInId 白坯手动入库单主键
|
||||
* @return 白坯手动入库单
|
||||
*/
|
||||
public WmsRawOrderIn selectWmsRawOrderInByRawOrderInId(String rawOrderInId);
|
||||
|
||||
/**
|
||||
* 查询白坯手动入库单列表
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 白坯手动入库单集合
|
||||
*/
|
||||
public List<WmsRawOrderIn> selectWmsRawOrderInList(WmsRawOrderIn wmsRawOrderIn);
|
||||
|
||||
/**
|
||||
* 新增白坯手动入库单
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn);
|
||||
|
||||
/**
|
||||
* 修改白坯手动入库单
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn);
|
||||
|
||||
/**
|
||||
* 删除白坯手动入库单
|
||||
*
|
||||
* @param rawOrderInId 白坯手动入库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteWmsRawOrderInByRawOrderInId(String rawOrderInId);
|
||||
|
||||
/**
|
||||
* 批量删除白坯手动入库单
|
||||
*
|
||||
* @param rawOrderInIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteWmsRawOrderInByRawOrderInIds(String[] rawOrderInIds);
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package com.op.quality.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.op.quality.domain.WmsRawOrderIn;
|
||||
|
||||
/**
|
||||
* 白坯手动入库单Service接口
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-12-26
|
||||
*/
|
||||
public interface IWmsRawOrderInService {
|
||||
/**
|
||||
* 查询白坯手动入库单
|
||||
*
|
||||
* @param rawOrderInId 白坯手动入库单主键
|
||||
* @return 白坯手动入库单
|
||||
*/
|
||||
public WmsRawOrderIn selectWmsRawOrderInByRawOrderInId(String rawOrderInId);
|
||||
|
||||
/**
|
||||
* 查询白坯手动入库单列表
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 白坯手动入库单集合
|
||||
*/
|
||||
public List<WmsRawOrderIn> selectWmsRawOrderInList(WmsRawOrderIn wmsRawOrderIn);
|
||||
|
||||
/**
|
||||
* 新增白坯手动入库单
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn);
|
||||
|
||||
/**
|
||||
* 修改白坯手动入库单
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn);
|
||||
|
||||
/**
|
||||
* 批量删除白坯手动入库单
|
||||
*
|
||||
* @param rawOrderInIds 需要删除的白坯手动入库单主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteWmsRawOrderInByRawOrderInIds(String[] rawOrderInIds);
|
||||
|
||||
/**
|
||||
* 删除白坯手动入库单信息
|
||||
*
|
||||
* @param rawOrderInId 白坯手动入库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteWmsRawOrderInByRawOrderInId(String rawOrderInId);
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
package com.op.quality.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||
import com.op.common.core.utils.uuid.IdUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.op.quality.mapper.WmsRawOrderInMapper;
|
||||
import com.op.quality.domain.WmsRawOrderIn;
|
||||
import com.op.quality.service.IWmsRawOrderInService;
|
||||
|
||||
/**
|
||||
* 白坯手动入库单Service业务层处理
|
||||
*
|
||||
* @author Open Platform
|
||||
* @date 2023-12-26
|
||||
*/
|
||||
@Service
|
||||
public class WmsRawOrderInServiceImpl implements IWmsRawOrderInService {
|
||||
@Autowired
|
||||
private WmsRawOrderInMapper wmsRawOrderInMapper;
|
||||
|
||||
/**
|
||||
* 查询白坯手动入库单
|
||||
*
|
||||
* @param rawOrderInId 白坯手动入库单主键
|
||||
* @return 白坯手动入库单
|
||||
*/
|
||||
@Override
|
||||
@DS("#header.poolName")
|
||||
public WmsRawOrderIn selectWmsRawOrderInByRawOrderInId(String rawOrderInId) {
|
||||
return wmsRawOrderInMapper.selectWmsRawOrderInByRawOrderInId(rawOrderInId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询白坯手动入库单列表
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 白坯手动入库单
|
||||
*/
|
||||
@Override
|
||||
@DS("#header.poolName")
|
||||
public List<WmsRawOrderIn> selectWmsRawOrderInList(WmsRawOrderIn wmsRawOrderIn) {
|
||||
return wmsRawOrderInMapper.selectWmsRawOrderInList(wmsRawOrderIn);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增白坯手动入库单
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@DS("#header.poolName")
|
||||
public int insertWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn) {
|
||||
wmsRawOrderIn.setRawOrderInId(IdUtils.fastSimpleUUID());
|
||||
wmsRawOrderIn.setFactoryCode("1000");
|
||||
wmsRawOrderIn.setWhCode("A");
|
||||
wmsRawOrderIn.setWaCode("A");
|
||||
wmsRawOrderIn.setWlCode("A-A01");
|
||||
wmsRawOrderIn.setDnNo("202312");
|
||||
wmsRawOrderIn.setOrderStatus("0");
|
||||
wmsRawOrderIn.setActiveFlag("1");
|
||||
wmsRawOrderIn.setSupplyCode("0000102874");
|
||||
wmsRawOrderIn.setSapFactoryCode("1000");
|
||||
return wmsRawOrderInMapper.insertWmsRawOrderIn(wmsRawOrderIn);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改白坯手动入库单
|
||||
*
|
||||
* @param wmsRawOrderIn 白坯手动入库单
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@DS("#header.poolName")
|
||||
public int updateWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn) {
|
||||
return wmsRawOrderInMapper.updateWmsRawOrderIn(wmsRawOrderIn);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除白坯手动入库单
|
||||
*
|
||||
* @param rawOrderInIds 需要删除的白坯手动入库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@DS("#header.poolName")
|
||||
public int deleteWmsRawOrderInByRawOrderInIds(String[] rawOrderInIds) {
|
||||
return wmsRawOrderInMapper.deleteWmsRawOrderInByRawOrderInIds(rawOrderInIds);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除白坯手动入库单信息
|
||||
*
|
||||
* @param rawOrderInId 白坯手动入库单主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
@DS("#header.poolName")
|
||||
public int deleteWmsRawOrderInByRawOrderInId(String rawOrderInId) {
|
||||
return wmsRawOrderInMapper.deleteWmsRawOrderInByRawOrderInId(rawOrderInId);
|
||||
}
|
||||
}
|
@ -0,0 +1,307 @@
|
||||
<?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.op.quality.mapper.WmsRawOrderInMapper">
|
||||
|
||||
<resultMap type="WmsRawOrderIn" id="WmsRawOrderInResult">
|
||||
<result property="rawOrderInId" column="raw_order_in_id" />
|
||||
<result property="factoryCode" column="factory_code" />
|
||||
<result property="whCode" column="wh_code" />
|
||||
<result property="waCode" column="wa_code" />
|
||||
<result property="wlCode" column="wl_code" />
|
||||
<result property="orderInType" column="order_in_type" />
|
||||
<result property="orderNo" column="order_no" />
|
||||
<result property="dnNo" column="dn_no" />
|
||||
<result property="poNo" column="po_no" />
|
||||
<result property="poLine" column="po_line" />
|
||||
<result property="poType" column="po_type" />
|
||||
<result property="materialCode" column="material_code" />
|
||||
<result property="materialDesc" column="material_desc" />
|
||||
<result property="unit" column="unit" />
|
||||
<result property="buyerGroup" column="buyer_group" />
|
||||
<result property="supplyCode" column="supply_code" />
|
||||
<result property="sapFactoryCode" column="sap_factory_code" />
|
||||
<result property="sendSpot" column="send_spot" />
|
||||
<result property="requestAmount" column="request_amount" />
|
||||
<result property="receiptAmount" column="receipt_amount" />
|
||||
<result property="shelvesAmount" column="shelves_amount" />
|
||||
<result property="location" column="location" />
|
||||
<result property="requestTime" column="request_time" />
|
||||
<result property="qualityStatus" column="quality_status" />
|
||||
<result property="orderStatus" column="order_status" />
|
||||
<result property="receiptOperator" column="receipt_operator" />
|
||||
<result property="receiptTime" column="receipt_time" />
|
||||
<result property="shelvesOperator" column="shelves_operator" />
|
||||
<result property="returnAmount" column="return_amount" />
|
||||
<result property="returnName" column="return_name" />
|
||||
<result property="returnTime" column="return_time" />
|
||||
<result property="returnStatus" column="return_status" />
|
||||
<result property="shelvesTime" column="shelves_time" />
|
||||
<result property="returnMessage" column="return_message" />
|
||||
<result property="accountingStatus" column="accounting_status" />
|
||||
<result property="accountingTime" column="accounting_time" />
|
||||
<result property="accountingMessage" column="accounting_message" />
|
||||
<result property="userDefined1" column="user_defined1" />
|
||||
<result property="userDefined2" column="user_defined2" />
|
||||
<result property="userDefined3" column="user_defined3" />
|
||||
<result property="userDefined4" column="user_defined4" />
|
||||
<result property="userDefined5" column="user_defined5" />
|
||||
<result property="userDefined6" column="user_defined6" />
|
||||
<result property="userDefined7" column="user_defined7" />
|
||||
<result property="userDefined8" column="user_defined8" />
|
||||
<result property="userDefined9" column="user_defined9" />
|
||||
<result property="userDefined10" column="user_defined10" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="gmtCreate" column="gmt_create" />
|
||||
<result property="lastModifiedBy" column="last_modified_by" />
|
||||
<result property="gmtModified" column="gmt_modified" />
|
||||
<result property="activeFlag" column="active_flag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectWmsRawOrderInVo">
|
||||
select raw_order_in_id, factory_code, wh_code, wa_code, wl_code, order_in_type, order_no, dn_no, po_no, po_line, po_type, material_code, material_desc, unit, buyer_group, supply_code, sap_factory_code, send_spot, request_amount, receipt_amount, shelves_amount, location, request_time, quality_status, order_status, receipt_operator, receipt_time, shelves_operator, return_amount, return_name, return_time, return_status, shelves_time, return_message, accounting_status, accounting_time, accounting_message, user_defined1, user_defined2, user_defined3, user_defined4, user_defined5, user_defined6, user_defined7, user_defined8, user_defined9, user_defined10, create_by, gmt_create, last_modified_by, gmt_modified, active_flag from wms_raw_order_in
|
||||
</sql>
|
||||
|
||||
<select id="selectWmsRawOrderInList" parameterType="WmsRawOrderIn" resultMap="WmsRawOrderInResult">
|
||||
<include refid="selectWmsRawOrderInVo"/>
|
||||
<where>
|
||||
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
|
||||
<if test="whCode != null and whCode != ''"> and wh_code = #{whCode}</if>
|
||||
<if test="waCode != null and waCode != ''"> and wa_code = #{waCode}</if>
|
||||
<if test="wlCode != null and wlCode != ''"> and wl_code = #{wlCode}</if>
|
||||
<if test="orderInType != null and orderInType != ''"> and order_in_type = #{orderInType}</if>
|
||||
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
||||
<if test="dnNo != null and dnNo != ''"> and dn_no = #{dnNo}</if>
|
||||
<if test="poNo != null and poNo != ''"> and po_no = #{poNo}</if>
|
||||
<if test="poLine != null and poLine != ''"> and po_line = #{poLine}</if>
|
||||
<if test="poType != null and poType != ''"> and po_type = #{poType}</if>
|
||||
<if test="materialCode != null and materialCode != ''"> and material_code = #{materialCode}</if>
|
||||
<if test="materialDesc != null and materialDesc != ''"> and material_desc = #{materialDesc}</if>
|
||||
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
|
||||
<if test="buyerGroup != null and buyerGroup != ''"> and buyer_group = #{buyerGroup}</if>
|
||||
<if test="supplyCode != null and supplyCode != ''"> and supply_code = #{supplyCode}</if>
|
||||
<if test="sapFactoryCode != null and sapFactoryCode != ''"> and sap_factory_code = #{sapFactoryCode}</if>
|
||||
<if test="sendSpot != null and sendSpot != ''"> and send_spot = #{sendSpot}</if>
|
||||
<if test="requestAmount != null "> and request_amount = #{requestAmount}</if>
|
||||
<if test="receiptAmount != null "> and receipt_amount = #{receiptAmount}</if>
|
||||
<if test="shelvesAmount != null "> and shelves_amount = #{shelvesAmount}</if>
|
||||
<if test="location != null and location != ''"> and location = #{location}</if>
|
||||
<if test="requestTime != null "> and request_time = #{requestTime}</if>
|
||||
<if test="qualityStatus != null and qualityStatus != ''"> and quality_status = #{qualityStatus}</if>
|
||||
<if test="orderStatus != null and orderStatus != ''"> and order_status = #{orderStatus}</if>
|
||||
<if test="receiptOperator != null and receiptOperator != ''"> and receipt_operator = #{receiptOperator}</if>
|
||||
<if test="receiptTime != null "> and receipt_time = #{receiptTime}</if>
|
||||
<if test="shelvesOperator != null and shelvesOperator != ''"> and shelves_operator = #{shelvesOperator}</if>
|
||||
<if test="returnAmount != null "> and return_amount = #{returnAmount}</if>
|
||||
<if test="returnName != null and returnName != ''"> and return_name like concat('%', #{returnName}, '%')</if>
|
||||
<if test="returnTime != null "> and return_time = #{returnTime}</if>
|
||||
<if test="returnStatus != null and returnStatus != ''"> and return_status = #{returnStatus}</if>
|
||||
<if test="shelvesTime != null "> and shelves_time = #{shelvesTime}</if>
|
||||
<if test="returnMessage != null and returnMessage != ''"> and return_message = #{returnMessage}</if>
|
||||
<if test="accountingStatus != null and accountingStatus != ''"> and accounting_status = #{accountingStatus}</if>
|
||||
<if test="accountingTime != null "> and accounting_time = #{accountingTime}</if>
|
||||
<if test="accountingMessage != null and accountingMessage != ''"> and accounting_message = #{accountingMessage}</if>
|
||||
<if test="userDefined1 != null and userDefined1 != ''"> and user_defined1 = #{userDefined1}</if>
|
||||
<if test="userDefined2 != null and userDefined2 != ''"> and user_defined2 = #{userDefined2}</if>
|
||||
<if test="userDefined3 != null and userDefined3 != ''"> and user_defined3 = #{userDefined3}</if>
|
||||
<if test="userDefined4 != null and userDefined4 != ''"> and user_defined4 = #{userDefined4}</if>
|
||||
<if test="userDefined5 != null and userDefined5 != ''"> and user_defined5 = #{userDefined5}</if>
|
||||
<if test="userDefined6 != null and userDefined6 != ''"> and user_defined6 = #{userDefined6}</if>
|
||||
<if test="userDefined7 != null and userDefined7 != ''"> and user_defined7 = #{userDefined7}</if>
|
||||
<if test="userDefined8 != null and userDefined8 != ''"> and user_defined8 = #{userDefined8}</if>
|
||||
<if test="userDefined9 != null and userDefined9 != ''"> and user_defined9 = #{userDefined9}</if>
|
||||
<if test="userDefined10 != null and userDefined10 != ''"> and user_defined10 = #{userDefined10}</if>
|
||||
<if test="gmtCreate != null "> and gmt_create = #{gmtCreate}</if>
|
||||
<if test="lastModifiedBy != null and lastModifiedBy != ''"> and last_modified_by = #{lastModifiedBy}</if>
|
||||
<if test="gmtModified != null "> and gmt_modified = #{gmtModified}</if>
|
||||
<if test="activeFlag != null and activeFlag != ''"> and active_flag = #{activeFlag}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectWmsRawOrderInByRawOrderInId" parameterType="String" resultMap="WmsRawOrderInResult">
|
||||
<include refid="selectWmsRawOrderInVo"/>
|
||||
where raw_order_in_id = #{rawOrderInId}
|
||||
</select>
|
||||
|
||||
<insert id="insertWmsRawOrderIn" parameterType="WmsRawOrderIn">
|
||||
insert into wms_raw_order_in
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="rawOrderInId != null">raw_order_in_id,</if>
|
||||
<if test="factoryCode != null">factory_code,</if>
|
||||
<if test="whCode != null">wh_code,</if>
|
||||
<if test="waCode != null">wa_code,</if>
|
||||
<if test="wlCode != null">wl_code,</if>
|
||||
<if test="orderInType != null">order_in_type,</if>
|
||||
<if test="orderNo != null">order_no,</if>
|
||||
<if test="dnNo != null">dn_no,</if>
|
||||
<if test="poNo != null">po_no,</if>
|
||||
<if test="poLine != null">po_line,</if>
|
||||
<if test="poType != null">po_type,</if>
|
||||
<if test="materialCode != null">material_code,</if>
|
||||
<if test="materialDesc != null">material_desc,</if>
|
||||
<if test="unit != null">unit,</if>
|
||||
<if test="buyerGroup != null">buyer_group,</if>
|
||||
<if test="supplyCode != null">supply_code,</if>
|
||||
<if test="sapFactoryCode != null">sap_factory_code,</if>
|
||||
<if test="sendSpot != null">send_spot,</if>
|
||||
<if test="requestAmount != null">request_amount,</if>
|
||||
<if test="receiptAmount != null">receipt_amount,</if>
|
||||
<if test="shelvesAmount != null">shelves_amount,</if>
|
||||
<if test="location != null">location,</if>
|
||||
<if test="requestTime != null">request_time,</if>
|
||||
<if test="qualityStatus != null">quality_status,</if>
|
||||
<if test="orderStatus != null">order_status,</if>
|
||||
<if test="receiptOperator != null">receipt_operator,</if>
|
||||
<if test="receiptTime != null">receipt_time,</if>
|
||||
<if test="shelvesOperator != null">shelves_operator,</if>
|
||||
<if test="returnAmount != null">return_amount,</if>
|
||||
<if test="returnName != null">return_name,</if>
|
||||
<if test="returnTime != null">return_time,</if>
|
||||
<if test="returnStatus != null">return_status,</if>
|
||||
<if test="shelvesTime != null">shelves_time,</if>
|
||||
<if test="returnMessage != null">return_message,</if>
|
||||
<if test="accountingStatus != null">accounting_status,</if>
|
||||
<if test="accountingTime != null">accounting_time,</if>
|
||||
<if test="accountingMessage != null">accounting_message,</if>
|
||||
<if test="userDefined1 != null">user_defined1,</if>
|
||||
<if test="userDefined2 != null">user_defined2,</if>
|
||||
<if test="userDefined3 != null">user_defined3,</if>
|
||||
<if test="userDefined4 != null">user_defined4,</if>
|
||||
<if test="userDefined5 != null">user_defined5,</if>
|
||||
<if test="userDefined6 != null">user_defined6,</if>
|
||||
<if test="userDefined7 != null">user_defined7,</if>
|
||||
<if test="userDefined8 != null">user_defined8,</if>
|
||||
<if test="userDefined9 != null">user_defined9,</if>
|
||||
<if test="userDefined10 != null">user_defined10,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="gmtCreate != null">gmt_create,</if>
|
||||
<if test="lastModifiedBy != null">last_modified_by,</if>
|
||||
<if test="gmtModified != null">gmt_modified,</if>
|
||||
<if test="activeFlag != null">active_flag,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="rawOrderInId != null">#{rawOrderInId},</if>
|
||||
<if test="factoryCode != null">#{factoryCode},</if>
|
||||
<if test="whCode != null">#{whCode},</if>
|
||||
<if test="waCode != null">#{waCode},</if>
|
||||
<if test="wlCode != null">#{wlCode},</if>
|
||||
<if test="orderInType != null">#{orderInType},</if>
|
||||
<if test="orderNo != null">#{orderNo},</if>
|
||||
<if test="dnNo != null">#{dnNo},</if>
|
||||
<if test="poNo != null">#{poNo},</if>
|
||||
<if test="poLine != null">#{poLine},</if>
|
||||
<if test="poType != null">#{poType},</if>
|
||||
<if test="materialCode != null">#{materialCode},</if>
|
||||
<if test="materialDesc != null">#{materialDesc},</if>
|
||||
<if test="unit != null">#{unit},</if>
|
||||
<if test="buyerGroup != null">#{buyerGroup},</if>
|
||||
<if test="supplyCode != null">#{supplyCode},</if>
|
||||
<if test="sapFactoryCode != null">#{sapFactoryCode},</if>
|
||||
<if test="sendSpot != null">#{sendSpot},</if>
|
||||
<if test="requestAmount != null">#{requestAmount},</if>
|
||||
<if test="receiptAmount != null">#{receiptAmount},</if>
|
||||
<if test="shelvesAmount != null">#{shelvesAmount},</if>
|
||||
<if test="location != null">#{location},</if>
|
||||
<if test="requestTime != null">#{requestTime},</if>
|
||||
<if test="qualityStatus != null">#{qualityStatus},</if>
|
||||
<if test="orderStatus != null">#{orderStatus},</if>
|
||||
<if test="receiptOperator != null">#{receiptOperator},</if>
|
||||
<if test="receiptTime != null">#{receiptTime},</if>
|
||||
<if test="shelvesOperator != null">#{shelvesOperator},</if>
|
||||
<if test="returnAmount != null">#{returnAmount},</if>
|
||||
<if test="returnName != null">#{returnName},</if>
|
||||
<if test="returnTime != null">#{returnTime},</if>
|
||||
<if test="returnStatus != null">#{returnStatus},</if>
|
||||
<if test="shelvesTime != null">#{shelvesTime},</if>
|
||||
<if test="returnMessage != null">#{returnMessage},</if>
|
||||
<if test="accountingStatus != null">#{accountingStatus},</if>
|
||||
<if test="accountingTime != null">#{accountingTime},</if>
|
||||
<if test="accountingMessage != null">#{accountingMessage},</if>
|
||||
<if test="userDefined1 != null">#{userDefined1},</if>
|
||||
<if test="userDefined2 != null">#{userDefined2},</if>
|
||||
<if test="userDefined3 != null">#{userDefined3},</if>
|
||||
<if test="userDefined4 != null">#{userDefined4},</if>
|
||||
<if test="userDefined5 != null">#{userDefined5},</if>
|
||||
<if test="userDefined6 != null">#{userDefined6},</if>
|
||||
<if test="userDefined7 != null">#{userDefined7},</if>
|
||||
<if test="userDefined8 != null">#{userDefined8},</if>
|
||||
<if test="userDefined9 != null">#{userDefined9},</if>
|
||||
<if test="userDefined10 != null">#{userDefined10},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="gmtCreate != null">#{gmtCreate},</if>
|
||||
<if test="lastModifiedBy != null">#{lastModifiedBy},</if>
|
||||
<if test="gmtModified != null">#{gmtModified},</if>
|
||||
<if test="activeFlag != null">#{activeFlag},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateWmsRawOrderIn" parameterType="WmsRawOrderIn">
|
||||
update wms_raw_order_in
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="factoryCode != null">factory_code = #{factoryCode},</if>
|
||||
<if test="whCode != null">wh_code = #{whCode},</if>
|
||||
<if test="waCode != null">wa_code = #{waCode},</if>
|
||||
<if test="wlCode != null">wl_code = #{wlCode},</if>
|
||||
<if test="orderInType != null">order_in_type = #{orderInType},</if>
|
||||
<if test="orderNo != null">order_no = #{orderNo},</if>
|
||||
<if test="dnNo != null">dn_no = #{dnNo},</if>
|
||||
<if test="poNo != null">po_no = #{poNo},</if>
|
||||
<if test="poLine != null">po_line = #{poLine},</if>
|
||||
<if test="poType != null">po_type = #{poType},</if>
|
||||
<if test="materialCode != null">material_code = #{materialCode},</if>
|
||||
<if test="materialDesc != null">material_desc = #{materialDesc},</if>
|
||||
<if test="unit != null">unit = #{unit},</if>
|
||||
<if test="buyerGroup != null">buyer_group = #{buyerGroup},</if>
|
||||
<if test="supplyCode != null">supply_code = #{supplyCode},</if>
|
||||
<if test="sapFactoryCode != null">sap_factory_code = #{sapFactoryCode},</if>
|
||||
<if test="sendSpot != null">send_spot = #{sendSpot},</if>
|
||||
<if test="requestAmount != null">request_amount = #{requestAmount},</if>
|
||||
<if test="receiptAmount != null">receipt_amount = #{receiptAmount},</if>
|
||||
<if test="shelvesAmount != null">shelves_amount = #{shelvesAmount},</if>
|
||||
<if test="location != null">location = #{location},</if>
|
||||
<if test="requestTime != null">request_time = #{requestTime},</if>
|
||||
<if test="qualityStatus != null">quality_status = #{qualityStatus},</if>
|
||||
<if test="orderStatus != null">order_status = #{orderStatus},</if>
|
||||
<if test="receiptOperator != null">receipt_operator = #{receiptOperator},</if>
|
||||
<if test="receiptTime != null">receipt_time = #{receiptTime},</if>
|
||||
<if test="shelvesOperator != null">shelves_operator = #{shelvesOperator},</if>
|
||||
<if test="returnAmount != null">return_amount = #{returnAmount},</if>
|
||||
<if test="returnName != null">return_name = #{returnName},</if>
|
||||
<if test="returnTime != null">return_time = #{returnTime},</if>
|
||||
<if test="returnStatus != null">return_status = #{returnStatus},</if>
|
||||
<if test="shelvesTime != null">shelves_time = #{shelvesTime},</if>
|
||||
<if test="returnMessage != null">return_message = #{returnMessage},</if>
|
||||
<if test="accountingStatus != null">accounting_status = #{accountingStatus},</if>
|
||||
<if test="accountingTime != null">accounting_time = #{accountingTime},</if>
|
||||
<if test="accountingMessage != null">accounting_message = #{accountingMessage},</if>
|
||||
<if test="userDefined1 != null">user_defined1 = #{userDefined1},</if>
|
||||
<if test="userDefined2 != null">user_defined2 = #{userDefined2},</if>
|
||||
<if test="userDefined3 != null">user_defined3 = #{userDefined3},</if>
|
||||
<if test="userDefined4 != null">user_defined4 = #{userDefined4},</if>
|
||||
<if test="userDefined5 != null">user_defined5 = #{userDefined5},</if>
|
||||
<if test="userDefined6 != null">user_defined6 = #{userDefined6},</if>
|
||||
<if test="userDefined7 != null">user_defined7 = #{userDefined7},</if>
|
||||
<if test="userDefined8 != null">user_defined8 = #{userDefined8},</if>
|
||||
<if test="userDefined9 != null">user_defined9 = #{userDefined9},</if>
|
||||
<if test="userDefined10 != null">user_defined10 = #{userDefined10},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="gmtCreate != null">gmt_create = #{gmtCreate},</if>
|
||||
<if test="lastModifiedBy != null">last_modified_by = #{lastModifiedBy},</if>
|
||||
<if test="gmtModified != null">gmt_modified = #{gmtModified},</if>
|
||||
<if test="activeFlag != null">active_flag = #{activeFlag},</if>
|
||||
</trim>
|
||||
where raw_order_in_id = #{rawOrderInId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteWmsRawOrderInByRawOrderInId" parameterType="String">
|
||||
delete from wms_raw_order_in where raw_order_in_id = #{rawOrderInId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteWmsRawOrderInByRawOrderInIds" parameterType="String">
|
||||
delete from wms_raw_order_in where raw_order_in_id in
|
||||
<foreach item="rawOrderInId" collection="array" open="(" separator="," close=")">
|
||||
#{rawOrderInId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in New Issue