commit for pull
This commit is contained in:
@@ -24,6 +24,20 @@
|
||||
select * from t_wo_packaging_box_substrate
|
||||
order by id asc
|
||||
</select>
|
||||
<select id="getOneByWoSubstrateId" resultMap="WoPackagingBoxSubstrateMap">
|
||||
select
|
||||
*
|
||||
from t_wo_packaging_box_substrate
|
||||
where
|
||||
valid = 1 and
|
||||
WO_SUBSTRATE_ID = #{woSubstrateId,jdbcType=VARCHAR}
|
||||
limit 1
|
||||
</select>
|
||||
<update id="updatePackagingBoxIdByWoSubstrateId">
|
||||
update t_wo_packaging_box_substrate
|
||||
set PACKAGING_BOX_ID = #{packagingBoxId,jdbcType=VARCHAR}
|
||||
where WO_SUBSTRATE_ID = #{woSubstrateId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user