|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
<sql id="printConfig">
|
|
|
id
|
|
|
- ,job_name,orientation,copies,page_type, width,height,margin_left,margin_top,margin_right,margin_bottom,
|
|
|
+ ,print_name,job_name,orientation,copies,page_type, width,height,margin_left,margin_top,margin_right,margin_bottom,
|
|
|
unit,sides,chromaticity,fit_to_pages,scale,page_range,page_range_start,page_range_end,print_area,print_area_value,create_time
|
|
|
</sql>
|
|
|
|
|
@@ -20,11 +20,11 @@
|
|
|
</insert>
|
|
|
|
|
|
<insert id="addPrintConfig">
|
|
|
- insert into t_print_config (job_name, orientation, copies, page_type, width, height, margin_left, margin_top,
|
|
|
+ insert into t_print_config (print_name,job_name, orientation, copies, page_type, width, height, margin_left, margin_top,
|
|
|
margin_right, margin_bottom,
|
|
|
unit, sides, chromaticity, fit_to_pages, scale, page_range, page_range_start,
|
|
|
page_range_end, print_area, print_area_value, create_time)
|
|
|
- value (#{jobName},#{orientation},#{copies},#{pageType},#{width},#{height},#{marginLeft},#{marginTop},
|
|
|
+ value (#{printName},#{jobName},#{orientation},#{copies},#{pageType},#{width},#{height},#{marginLeft},#{marginTop},
|
|
|
#{marginRight},#{marginBottom},#{unit},#{sides},#{chromaticity},#{fitToPages},#{scale},#{pageRange},
|
|
|
#{pageRangeStart},#{pageRangeEnd},#{printArea},#{printAreaValue},now())
|
|
|
</insert>
|
|
@@ -46,7 +46,8 @@
|
|
|
|
|
|
<update id="updatePrintConfig">
|
|
|
update t_print_config
|
|
|
- set job_name=#{jobName},
|
|
|
+ set print_name=#{printName},
|
|
|
+ job_name=#{jobName},
|
|
|
orientation=#{orientation},
|
|
|
page_type=#{pageType},
|
|
|
width=#{width},
|