|
|
@ -118,6 +118,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
where material_no = #{materialNo} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectShippingDeviceListBySnCodeAndMaterialNo" parameterType="String" resultMap="AfterSalesShippingDeviceResult"> |
|
|
|
<include refid="selectAfterSalesShippingDeviceVo"/> |
|
|
|
where sn_code in |
|
|
|
<foreach item="snCode" collection="array" open="(" separator="," close=")"> |
|
|
|
#{snCode} |
|
|
|
</foreach> |
|
|
|
and material_no = #{materialNo} |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertAfterSalesShippingDevice" parameterType="AfterSalesShippingDevice" useGeneratedKeys="true" keyProperty="shippingDeviceCode"> |
|
|
|