|
@@ -14,9 +14,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="devNo" column="dev_no" />
|
|
|
<result property="supportType" column="support_type" />
|
|
|
<result property="framePipe" column="frame_pipe" />
|
|
|
+ <result property="framePipe1" column="frame_pipe1" />
|
|
|
+ <result property="framePipe2" column="frame_pipe2" />
|
|
|
<result property="frameRoot" column="frame_root" />
|
|
|
+ <result property="frameRoot1" column="frame_root1" />
|
|
|
+ <result property="frameRoot2" column="frame_root2" />
|
|
|
+ <result property="frameRoot3" column="frame_root3" />
|
|
|
+ <result property="frameRoot4" column="frame_root4" />
|
|
|
<result property="functionalPart" column="functional_part" />
|
|
|
+ <result property="functionalPart1" column="functional_part1" />
|
|
|
+ <result property="functionalPart2" column="functional_part2" />
|
|
|
+ <result property="functionalPart3" column="functional_part3" />
|
|
|
+ <result property="functionalPart4" column="functional_part4" />
|
|
|
<result property="connector" column="connector" />
|
|
|
+ <result property="connector1" column="connector1" />
|
|
|
+ <result property="connector2" column="connector2" />
|
|
|
+ <result property="connector3" column="connector3" />
|
|
|
+ <result property="connector4" column="connector4" />
|
|
|
<result property="processingResult" column="processing_result" />
|
|
|
<result property="confirm" column="confirm" />
|
|
|
<result property="confirmationDate" column="confirmation_date" />
|
|
@@ -37,7 +51,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTPssrFrameVo">
|
|
|
- select d.id, u1.nick_name confirm1_name, u2.nick_name confirm2_name, d.confirm1, d.confirm2, d.examiner, d.sub_id, d.approve_id, d.region, d.bracket_number, d.pipeline_number, d.dev_no, d.support_type, d.frame_pipe, d.frame_root, d.functional_part, d.connector, d.processing_result, d.confirm, d.confirmation_date, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.approve_status ,s.dept_name from t_pssr_frame d
|
|
|
+ select d.id, u1.nick_name confirm1_name, u2.nick_name confirm2_name, d.confirm1, d.confirm2, d.examiner, d.sub_id, d.approve_id, d.region,
|
|
|
+ d.bracket_number, d.pipeline_number, d.dev_no, d.support_type, d.frame_pipe, d.frame_pipe1, d.frame_pipe2, d.frame_root,d.frame_root1,d.frame_root2,
|
|
|
+ d.frame_root3,d.frame_root4, d.functional_part, d.functional_part1, d.functional_part2, d.functional_part3, d.functional_part4,
|
|
|
+ d.connector,d.connector1,d.connector2,d.connector3,d.connector4, d.processing_result,d.confirm, d.confirmation_date, d.del_flag, d.creater_code,
|
|
|
+ d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks, d.approve_status, s.dept_name from t_pssr_frame d
|
|
|
left join sys_dept s on s.dept_id = d.dept_id
|
|
|
left join sys_user u1 on u1.user_id = d.CONFIRM1
|
|
|
left join sys_user u2 on u2.user_id = d.CONFIRM2
|
|
@@ -54,9 +72,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="devNo != null and devNo != ''"> and dev_no = #{devNo}</if>
|
|
|
<if test="supportType != null and supportType != ''"> and support_type = #{supportType}</if>
|
|
|
<if test="framePipe != null and framePipe != ''"> and frame_pipe = #{framePipe}</if>
|
|
|
+ <if test="framePipe1 != null and framePipe1 != ''"> and frame_pipe1 = #{framePipe1}</if>
|
|
|
+ <if test="framePipe2 != null and framePipe2 != ''"> and frame_pipe2 = #{framePipe2}</if>
|
|
|
<if test="frameRoot != null and frameRoot != ''"> and frame_root = #{frameRoot}</if>
|
|
|
+ <if test="frameRoot1 != null and frameRoot1 != ''"> and frame_root1 = #{frameRoot1}</if>
|
|
|
+ <if test="frameRoot2 != null and frameRoot2 != ''"> and frame_root2 = #{frameRoot2}</if>
|
|
|
+ <if test="frameRoot3 != null and frameRoot3 != ''"> and frame_root3 = #{frameRoot3}</if>
|
|
|
+ <if test="frameRoot4 != null and frameRoot4 != ''"> and frame_root4 = #{frameRoot4}</if>
|
|
|
<if test="functionalPart != null and functionalPart != ''"> and functional_part = #{functionalPart}</if>
|
|
|
+ <if test="functionalPart1 != null and functionalPart1 != ''"> and functional_part1 = #{functionalPart1}</if>
|
|
|
+ <if test="functionalPart2 != null and functionalPart2 != ''"> and functional_part2 = #{functionalPart2}</if>
|
|
|
+ <if test="functionalPart3 != null and functionalPart3 != ''"> and functional_part3 = #{functionalPart3}</if>
|
|
|
+ <if test="functionalPart4 != null and functionalPart4 != ''"> and functional_part4 = #{functionalPart4}</if>
|
|
|
<if test="connector != null and connector != ''"> and connector = #{connector}</if>
|
|
|
+ <if test="connector1 != null and connector1 != ''"> and connector1 = #{connector1}</if>
|
|
|
+ <if test="connector2 != null and connector2 != ''"> and connector2 = #{connector2}</if>
|
|
|
+ <if test="connector3 != null and connector3 != ''"> and connector3 = #{connector3}</if>
|
|
|
+ <if test="connector4 != null and connector4 != ''"> and connector4 = #{connector4}</if>
|
|
|
<if test="processingResult != null and processingResult != ''"> and processing_result = #{processingResult}</if>
|
|
|
<if test="confirm != null and confirm != ''"> and confirm = #{confirm}</if>
|
|
|
<if test="confirmationDate != null "> and confirmation_date = #{confirmationDate}</if>
|
|
@@ -96,9 +128,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="devNo != null">dev_no,</if>
|
|
|
<if test="supportType != null">support_type,</if>
|
|
|
<if test="framePipe != null">frame_pipe,</if>
|
|
|
+ <if test="framePipe1 != null">frame_pipe1,</if>
|
|
|
+ <if test="framePipe2 != null">frame_pipe2,</if>
|
|
|
<if test="frameRoot != null">frame_root,</if>
|
|
|
+ <if test="frameRoot1 != null">frame_root1,</if>
|
|
|
+ <if test="frameRoot2 != null">frame_root2,</if>
|
|
|
+ <if test="frameRoot3 != null">frame_root3,</if>
|
|
|
+ <if test="frameRoot4 != null">frame_root4,</if>
|
|
|
<if test="functionalPart != null">functional_part,</if>
|
|
|
+ <if test="functionalPart1!= null">functional_part1,</if>
|
|
|
+ <if test="functionalPart2!= null">functional_part2,</if>
|
|
|
+ <if test="functionalPart3!= null">functional_part3,</if>
|
|
|
+ <if test="functionalPart4!= null">functional_part4,</if>
|
|
|
<if test="connector != null">connector,</if>
|
|
|
+ <if test="connector1 != null">connector1,</if>
|
|
|
+ <if test="connector2 != null">connector2,</if>
|
|
|
+ <if test="connector3 != null">connector3,</if>
|
|
|
+ <if test="connector4 != null">connector4,</if>
|
|
|
<if test="processingResult != null">processing_result,</if>
|
|
|
<if test="confirm != null">confirm,</if>
|
|
|
<if test="confirmationDate != null">confirmation_date,</if>
|
|
@@ -124,9 +170,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="devNo != null">#{devNo},</if>
|
|
|
<if test="supportType != null">#{supportType},</if>
|
|
|
<if test="framePipe != null">#{framePipe},</if>
|
|
|
+ <if test="framePipe1 != null">#{framePipe1},</if>
|
|
|
+ <if test="framePipe2 != null">#{framePipe2},</if>
|
|
|
<if test="frameRoot != null">#{frameRoot},</if>
|
|
|
+ <if test="frameRoot1 != null">#{frameRoot1},</if>
|
|
|
+ <if test="frameRoot2 != null">#{frameRoot2},</if>
|
|
|
+ <if test="frameRoot3 != null">#{frameRoot3},</if>
|
|
|
+ <if test="frameRoot4 != null">#{frameRoot4},</if>
|
|
|
<if test="functionalPart != null">#{functionalPart},</if>
|
|
|
+ <if test="functionalPart1 != null">#{functionalPart1},</if>
|
|
|
+ <if test="functionalPart2 != null">#{functionalPart2},</if>
|
|
|
+ <if test="functionalPart3 != null">#{functionalPart3},</if>
|
|
|
+ <if test="functionalPart4 != null">#{functionalPart4},</if>
|
|
|
<if test="connector != null">#{connector},</if>
|
|
|
+ <if test="connector1 != null">#{connector1},</if>
|
|
|
+ <if test="connector2 != null">#{connector2},</if>
|
|
|
+ <if test="connector3 != null">#{connector3},</if>
|
|
|
+ <if test="connector4 != null">#{connector4},</if>
|
|
|
<if test="processingResult != null">#{processingResult},</if>
|
|
|
<if test="confirm != null">#{confirm},</if>
|
|
|
<if test="confirmationDate != null">#{confirmationDate},</if>
|
|
@@ -155,9 +215,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="devNo != null">dev_no = #{devNo},</if>
|
|
|
<if test="supportType != null">support_type = #{supportType},</if>
|
|
|
<if test="framePipe != null">frame_pipe = #{framePipe},</if>
|
|
|
+ <if test="framePipe1 != null">frame_pipe1 = #{framePipe1},</if>
|
|
|
+ <if test="framePipe2 != null">frame_pipe2 = #{framePipe2},</if>
|
|
|
<if test="frameRoot != null">frame_root = #{frameRoot},</if>
|
|
|
+ <if test="frameRoot1 != null">frame_root1 = #{frameRoot1},</if>
|
|
|
+ <if test="frameRoot2 != null">frame_root2 = #{frameRoot2},</if>
|
|
|
+ <if test="frameRoot3 != null">frame_root3 = #{frameRoot3},</if>
|
|
|
+ <if test="frameRoot4 != null">frame_root4 = #{frameRoot4},</if>
|
|
|
<if test="functionalPart != null">functional_part = #{functionalPart},</if>
|
|
|
+ <if test="functionalPart1 != null">functional_part1 = #{functionalPart1},</if>
|
|
|
+ <if test="functionalPart2 != null">functional_part2 = #{functionalPart2},</if>
|
|
|
+ <if test="functionalPart3 != null">functional_part3 = #{functionalPart3},</if>
|
|
|
+ <if test="functionalPart4 != null">functional_part4 = #{functionalPart4},</if>
|
|
|
<if test="connector != null">connector = #{connector},</if>
|
|
|
+ <if test="connector1 != null">connector1 = #{connector1},</if>
|
|
|
+ <if test="connector2 != null">connector2 = #{connector2},</if>
|
|
|
+ <if test="connector3 != null">connector3 = #{connector3},</if>
|
|
|
+ <if test="connector4 != null">connector4 = #{connector4},</if>
|
|
|
<if test="processingResult != null">processing_result = #{processingResult},</if>
|
|
|
<if test="confirm != null">confirm = #{confirm},</if>
|
|
|
<if test="confirmationDate != null">confirmation_date = #{confirmationDate},</if>
|