字段变更

This commit is contained in:
2024-01-30 09:42:37 +08:00
parent 8c3d387257
commit c8aad62eb4
37 changed files with 219 additions and 60 deletions

View File

@@ -25,6 +25,7 @@
<select id="list" resultType="com.cnbm.packing.dto.ChangePackagingBoxHistoryDTO">
select * from t_change_packaging_box_history
<where>
valid = 1
<if test="startTime != null and endTime != null">
and create_time BETWEEN #{startTime} AND #{endTime}
</if>

View File

@@ -24,10 +24,14 @@
<id column="is_enable" property="isEnable" />
<id column="scenes" property="scenes" />
<id column="product_grade" property="productGrade" />
<id column="pitch_number" property="pitchNumber" />
<id column="max_fuse_current" property="maxFuseCurrent" />
<id column="cover_name" property="coverName" />
</resultMap>
<select id="list" resultType="com.cnbm.packing.dto.PrintModelDTO">
select * from t_print_model
where valid = 1
order by id asc
</select>

View File

@@ -27,6 +27,7 @@
<select id="list" resultType="com.cnbm.packing.dto.WoCompensationPowerDTO">
select * from t_wo_compensation_power
where valid = 1
order by id asc
</select>

View File

@@ -36,6 +36,7 @@
<select id="list" resultType="com.cnbm.packing.dto.WoPackagingBoxDTO">
select * from t_wo_packaging_box
where valid = 1
order by id asc
</select>
<update id="updateIsArrivedByBoxNo">

View File

@@ -145,7 +145,8 @@
<select id="substratePage" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO">
select
twpb.CREATE_TIME as boxCreateTime,twpbs.*,twpb.PRINT_TIME as printTime
twpb.CREATE_TIME as boxCreateTime,twpbs.*,twpb.PRINT_TIME as printTime,
twpb.product_grade as productGrade, twpb.pitch_number as pitchNumber, twpb.max_fuse_current as maxFuseCurrent, twpb.cover_name as coverName
from t_wo_packaging_box_substrate twpbs
left join t_wo_packaging_box twpb on twpbs.PACKAGING_BOX_ID = twpb.BOX_NO
<where>

View File

@@ -24,6 +24,7 @@
<select id="list" resultType="com.cnbm.packing.dto.WoPackagingPrintHistoryDTO">
select * from t_wo_packaging_print_history
where valid = 1
order by id asc
</select>

View File

@@ -25,6 +25,7 @@
<select id="list" resultType="com.cnbm.packing.dto.WoPowerLevelDTO">
select * from t_wo_power_level
where valid = 1
order by id asc
</select>