|
|
|
@ -1751,61 +1751,65 @@ |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="searchBMPrintingColor" resultType="PlmBmPrintingColorData"> |
|
|
|
select site, |
|
|
|
code_no, |
|
|
|
[order], |
|
|
|
ink_type, |
|
|
|
color_reference, |
|
|
|
color_match, |
|
|
|
bcm, |
|
|
|
speed, |
|
|
|
dry, |
|
|
|
gallus, |
|
|
|
mark_andy, |
|
|
|
lp, |
|
|
|
Hexiang, |
|
|
|
update_date, |
|
|
|
update_by, |
|
|
|
id |
|
|
|
select |
|
|
|
site, |
|
|
|
code_no, |
|
|
|
[order], |
|
|
|
ink_type, |
|
|
|
color_reference, |
|
|
|
color_match, |
|
|
|
bcm, |
|
|
|
speed, |
|
|
|
dry, |
|
|
|
gallus, |
|
|
|
mark_andy, |
|
|
|
lp, |
|
|
|
Hexiang, |
|
|
|
update_date, |
|
|
|
update_by, |
|
|
|
id, |
|
|
|
resource_no |
|
|
|
from plm_bm_PrintingColor |
|
|
|
where site = #{site} |
|
|
|
and code_no = #{codeNo} |
|
|
|
where site = #{site} and code_no = #{codeNo} |
|
|
|
order by [order] |
|
|
|
</select> |
|
|
|
|
|
|
|
<insert id="saveBMPrintingColor"> |
|
|
|
insert into plm_bm_PrintingColor (site, code_no, [order], ink_type, color_reference, color_match, bcm, speed, |
|
|
|
dry, gallus, mark_andy, lp, Hexiang, update_by, update_date) |
|
|
|
values (#{site}, #{codeNo}, #{order}, #{inkType}, #{colorReference}, #{colorMatch}, #{bcm}, #{speed}, #{dry}, |
|
|
|
#{gallus}, #{markAndy}, #{lp}, #{hexiang}, #{updateBy}, GetDate()) |
|
|
|
insert into plm_bm_PrintingColor |
|
|
|
(site, code_no, [order], ink_type, color_reference, color_match, bcm, speed, |
|
|
|
dry, gallus, mark_andy, lp, Hexiang, update_by, update_date, resource_no) |
|
|
|
values |
|
|
|
(#{site}, #{codeNo}, #{order}, #{inkType}, #{colorReference}, #{colorMatch}, #{bcm}, #{speed}, |
|
|
|
#{dry}, #{gallus}, #{markAndy}, #{lp}, #{hexiang}, #{updateBy}, GetDate(), #{resourceNo}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<insert id="saveBMPrintingColors"> |
|
|
|
insert into plm_bm_PrintingColor |
|
|
|
(site, code_no, [order], ink_type, color_reference, color_match, bcm, speed, |
|
|
|
dry, gallus, mark_andy, lp, Hexiang, update_by, update_date) |
|
|
|
dry, gallus, mark_andy, lp, Hexiang, update_by, update_date, resource_no) |
|
|
|
values |
|
|
|
<foreach collection="list" item="item" index="index" separator=","> |
|
|
|
(#{item.site}, #{item.codeNo}, #{item.order}, #{item.inkType}, #{item.colorReference}, #{item.colorMatch}, #{item.bcm}, #{item.speed}, |
|
|
|
#{item.dry}, #{item.gallus}, #{item.markAndy}, #{item.lp}, #{item.hexiang}, #{item.updateBy}, GetDate()) |
|
|
|
#{item.dry}, #{item.gallus}, #{item.markAndy}, #{item.lp}, #{item.hexiang}, #{item.updateBy}, GetDate(), #{item.resourceNo}) |
|
|
|
</foreach> |
|
|
|
</insert> |
|
|
|
|
|
|
|
<update id="updateBMPrintingColor"> |
|
|
|
update plm_bm_PrintingColor |
|
|
|
set [order]=#{order}, |
|
|
|
ink_type=#{inkType}, |
|
|
|
[color_reference]=#{colorReference}, |
|
|
|
color_match=#{colorMatch}, |
|
|
|
bcm=#{bcm}, |
|
|
|
speed=#{speed}, |
|
|
|
dry=#{dry}, |
|
|
|
gallus=#{gallus}, |
|
|
|
mark_andy=#{markAndy}, |
|
|
|
lp=#{lp}, |
|
|
|
Hexiang=#{hexiang}, |
|
|
|
update_date=GetDate(), |
|
|
|
update_by=#{updateBy} |
|
|
|
set [order] = #{order}, |
|
|
|
ink_type = #{inkType}, |
|
|
|
[color_reference] = #{colorReference}, |
|
|
|
color_match = #{colorMatch}, |
|
|
|
bcm = #{bcm}, |
|
|
|
speed = #{speed}, |
|
|
|
dry = #{dry}, |
|
|
|
gallus = #{gallus}, |
|
|
|
mark_andy = #{markAndy}, |
|
|
|
lp = #{lp}, |
|
|
|
Hexiang = #{hexiang}, |
|
|
|
update_date = GetDate(), |
|
|
|
update_by = #{updateBy}, |
|
|
|
resource_no = #{resourceNo} |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|
|
|
|
|
@ -1988,27 +1992,28 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="searchBMprintFlexoColor" resultType="PlmBmPrintFlexoColorData"> |
|
|
|
select id, |
|
|
|
site, |
|
|
|
codeNo, |
|
|
|
printSide, |
|
|
|
[order], |
|
|
|
colorReference, |
|
|
|
inkCode, |
|
|
|
colorMatch, |
|
|
|
lpi, |
|
|
|
bcm, |
|
|
|
openFlag, |
|
|
|
gallus, |
|
|
|
markAndy, |
|
|
|
hexiang, |
|
|
|
temperature, |
|
|
|
pressure, |
|
|
|
updateDate, |
|
|
|
updateBy |
|
|
|
select |
|
|
|
id, |
|
|
|
site, |
|
|
|
codeNo, |
|
|
|
printSide, |
|
|
|
[order], |
|
|
|
colorReference, |
|
|
|
inkCode, |
|
|
|
colorMatch, |
|
|
|
lpi, |
|
|
|
bcm, |
|
|
|
openFlag, |
|
|
|
gallus, |
|
|
|
markAndy, |
|
|
|
hexiang, |
|
|
|
temperature, |
|
|
|
pressure, |
|
|
|
updateDate, |
|
|
|
updateBy, |
|
|
|
resource_no |
|
|
|
from plm_bm_printFlexoColor |
|
|
|
where site = #{site} |
|
|
|
and codeNo = #{codeNo} |
|
|
|
where site = #{site} and codeNo = #{codeNo} |
|
|
|
order by printSide desc, [order] |
|
|
|
</select> |
|
|
|
|
|
|
|
@ -2024,41 +2029,42 @@ |
|
|
|
<insert id="saveBMprintFlexoColor"> |
|
|
|
insert into plm_bm_printFlexoColor |
|
|
|
(site, codeNo, printSide, [order], colorReference, inkCode, colorMatch, lpi, |
|
|
|
bcm, openFlag, gallus, markAndy, hexiang, temperature, pressure, updateDate, updateBy, remark) |
|
|
|
bcm, openFlag, gallus, markAndy, hexiang, temperature, pressure, updateDate, updateBy, remark, resource_no) |
|
|
|
values |
|
|
|
(#{site}, #{codeNo}, #{printSide}, #{order}, #{colorReference}, #{inkCode}, #{colorMatch}, #{lpi}, |
|
|
|
#{bcm}, #{openFlag}, #{gallus}, #{markAndy}, #{hexiang}, #{temperature}, #{pressure}, GetDate(), #{updateBy}, #{remark}) |
|
|
|
#{bcm}, #{openFlag}, #{gallus}, #{markAndy}, #{hexiang}, #{temperature}, #{pressure}, GetDate(), #{updateBy}, #{remark}, #{resourceNo}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<insert id="saveBMPrintFlexoColors"> |
|
|
|
insert into plm_bm_printFlexoColor |
|
|
|
(site, codeNo, printSide, [order], colorReference, inkCode, colorMatch, lpi, |
|
|
|
bcm, openFlag, gallus, markAndy, hexiang, temperature, pressure, updateDate, updateBy, remark) |
|
|
|
bcm, openFlag, gallus, markAndy, hexiang, temperature, pressure, updateDate, updateBy, remark, resource_no) |
|
|
|
values |
|
|
|
<foreach collection="list" item="item" index="index" separator=","> |
|
|
|
(#{item.site}, #{item.codeNo}, #{item.printSide}, #{item.order}, #{item.colorReference}, #{item.inkCode}, #{item.colorMatch}, #{item.lpi}, |
|
|
|
#{item.bcm}, #{item.openFlag}, #{item.gallus}, #{item.markAndy}, #{item.hexiang}, #{item.temperature}, #{item.pressure}, GetDate(), #{item.updateBy}, #{item.remark}) |
|
|
|
#{item.bcm}, #{item.openFlag}, #{item.gallus}, #{item.markAndy}, #{item.hexiang}, #{item.temperature}, #{item.pressure}, GetDate(), #{item.updateBy}, #{item.remark}, #{item.resourceNo}) |
|
|
|
</foreach> |
|
|
|
</insert> |
|
|
|
|
|
|
|
<update id="updateBMprintFlexoColor"> |
|
|
|
update plm_bm_printFlexoColor |
|
|
|
set printSide=#{printSide}, |
|
|
|
[order]=#{order,jdbcType=INTEGER}, |
|
|
|
colorReference=#{colorReference}, |
|
|
|
inkCode=#{inkCode}, |
|
|
|
colorMatch=#{colorMatch}, |
|
|
|
lpi=#{lpi}, |
|
|
|
bcm=#{bcm}, |
|
|
|
openFlag=#{openFlag}, |
|
|
|
gallus=#{gallus}, |
|
|
|
markAndy=#{markAndy}, |
|
|
|
hexiang=#{hexiang}, |
|
|
|
temperature=#{temperature}, |
|
|
|
pressure=#{pressure}, |
|
|
|
updateDate=GetDate(), |
|
|
|
updateBy=#{updateBy}, |
|
|
|
remark=#{remark} |
|
|
|
set printSide = #{printSide}, |
|
|
|
[order] = #{order,jdbcType=INTEGER}, |
|
|
|
colorReference = #{colorReference}, |
|
|
|
inkCode = #{inkCode}, |
|
|
|
colorMatch = #{colorMatch}, |
|
|
|
lpi = #{lpi}, |
|
|
|
bcm = #{bcm}, |
|
|
|
openFlag = #{openFlag}, |
|
|
|
gallus = #{gallus}, |
|
|
|
markAndy = #{markAndy}, |
|
|
|
hexiang = #{hexiang}, |
|
|
|
temperature = #{temperature}, |
|
|
|
pressure = #{pressure}, |
|
|
|
updateDate = GetDate(), |
|
|
|
updateBy = #{updateBy}, |
|
|
|
remark = #{remark}, |
|
|
|
resource_no = #{resourceNo} |
|
|
|
where id = #{id} |
|
|
|
</update> |
|
|
|
|
|
|
|
@ -2069,7 +2075,7 @@ |
|
|
|
|
|
|
|
<delete id="deleteBMPrintFlexoColorByCodeNo"> |
|
|
|
delete from plm_bm_printFlexoColor |
|
|
|
where site = #{site} and code_no = #{codeNo} |
|
|
|
where site = #{site} and codeNo = #{codeNo} |
|
|
|
</delete> |
|
|
|
|
|
|
|
<select id="searchBMprintIndigoColor" resultType="PlmBmPrintIndigoColorData"> |
|
|
|
|