Merge branch 'main' of http://162.14.99.253:3000/10539622/2025-03-JS-SDK-svr
This commit is contained in:
commit
f6ecef45ab
@ -11,4 +11,6 @@ public class StorageAddDto {
|
||||
private String storageName;
|
||||
// 描述
|
||||
private String description;
|
||||
//货位属性
|
||||
private String storageUseType;
|
||||
}
|
||||
|
@ -11,4 +11,6 @@ public class StorageEditDto {
|
||||
private String storageName;
|
||||
// 描述
|
||||
private String description;
|
||||
//货位属性
|
||||
private String storageUseType;
|
||||
}
|
||||
|
@ -10,4 +10,7 @@ public class StoragePageDto {
|
||||
|
||||
// 货位描述
|
||||
private String description;
|
||||
|
||||
//货位属性
|
||||
private String storageUseType;
|
||||
}
|
||||
|
@ -11,4 +11,6 @@ public class StorageSpec {
|
||||
private String storageName;
|
||||
// 描述
|
||||
private String description;
|
||||
//货位属性
|
||||
private String storageUseType;
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
</update>
|
||||
|
||||
<select id="page" resultType="com.cim.idm.model.po.storage.StorageSpec">
|
||||
select SITENAME, STORAGENAME, DESCRIPTION
|
||||
select SITENAME, STORAGENAME, DESCRIPTION, STORAGEUSETYPE
|
||||
from STORAGESPEC
|
||||
<where>
|
||||
<if test="dto.storageName != null and dto.storageName != ''">
|
||||
@ -17,6 +17,9 @@
|
||||
<if test="dto.description != null and dto.description != ''">
|
||||
AND DESCRIPTION LIKE '%'||#{dto.description}||'%'
|
||||
</if>
|
||||
<if test="dto.storageUseType != null and dto.storageUseType != ''">
|
||||
AND STORAGEUSETYPE = #{dto.storageUseType}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
@ -28,12 +31,12 @@
|
||||
</select>
|
||||
|
||||
<insert id="add">
|
||||
insert into STORAGESPEC(SITENAME, STORAGENAME, DESCRIPTION)
|
||||
values (#{storageSpec.siteName}, #{storageSpec.storageName}, #{storageSpec.description})
|
||||
insert into STORAGESPEC(SITENAME, STORAGENAME, DESCRIPTION, STORAGEUSETYPE)
|
||||
values (#{storageSpec.siteName}, #{storageSpec.storageName}, #{storageSpec.description}, #{storageSpec.storageUseType})
|
||||
</insert>
|
||||
|
||||
<update id="editStorage">
|
||||
update STORAGESPEC set DESCRIPTION = #{edit.description}
|
||||
update STORAGESPEC set DESCRIPTION = #{edit.description} ,STORAGEUSETYPE = #{edit.storageUseType}
|
||||
where SITENAME = #{edit.siteName}
|
||||
and STORAGENAME = #{edit.storageName}
|
||||
</update>
|
||||
|
Loading…
x
Reference in New Issue
Block a user