片仔癀诊断上传至自助平台往来单位问题

wms_pzh
anthonyywj2 3 years ago
parent 0da5f83df7
commit 67c6081917

@ -22,6 +22,9 @@ public class PlatformLinkResponse {
private String platformName;
//自助平台ID
private String platformId;
private String socurceName;
//本地单据类型
private String sourceAction;
//目标单据类型

@ -1,6 +1,6 @@
server.port=9991
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.jdbc-url=jdbc:mysql://127.0.0.1:3306/udiwms_ljy?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.jdbc-url=jdbc:mysql://127.0.0.1:3306/udiwms_ph3?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.hikari.connection-timeout=60000
@ -11,6 +11,11 @@ logging.level.com.glxp.api.admin.dao=debug
file_path=D:/udi/udiwms/udiwmsfile/
#file_path=/home/glxp/udiwms++
UDI_KEY=6b137c66-6286-46c6-8efa-c2f5dd9237df
UDI_APPID=UDIWMS_PZH
UDI_SECRET=237826ad74114b59afe9ff5f0d69345f
UDI_SERVER_URL=https://www.udims.com/UDI_DL_Server_test
SPMS_KEY=lCOdWCBKS6Kw45wdnnqUTELXyuSKnXEs
SYSTEM_TYPE=pzh

@ -30,7 +30,12 @@
<if test="erpId != '' and erpId != null">
AND erpId = #{erpId}
</if>
<if test="corpType != null">
<if test="corpType == 1">
AND (corpType =1 || corpType=5)
</if>
<if test="corpType != null and corpType !=1">
AND corpType = #{corpType}
</if>
<if test="outType != null">

@ -12,10 +12,12 @@
up.sourceAction,
up.targetAction,
up.invCode,
up.invSubCode
up.invSubCode,
bl.name socurceName
from io_unit_maintain_platform up
left join basic_corp u on up.unitId = u.erpId
left join auth_platform ap on up.platformId = ap.id
left join basic_bustype_local bl on up.sourceAction = bl.action
where up.customerId = #{customerId}
<if test="key != null and key != ''">
AND (u.erpId like concat('%', #{key}, '%')
@ -23,6 +25,8 @@
or u.spell like concat('%', #{key}, '%')
)
</if>
order by up.unitId
</select>
<select id="selectByCustomerId" resultType="com.glxp.api.admin.entity.inout.UnitMaintainPlatformEntity">
@ -128,7 +132,9 @@
</select>
<delete id="deleteById">
delete from io_unit_maintain_platform where id = #{id}
delete
from io_unit_maintain_platform
where id = #{id}
</delete>
<select id="selectCount" resultType="java.lang.Long">

Loading…
Cancel
Save