|
|
@ -14,7 +14,7 @@
|
|
|
|
<result property="itemMethod" column="item_method" />
|
|
|
|
<result property="itemMethod" column="item_method" />
|
|
|
|
<result property="itemType" column="item_type" />
|
|
|
|
<result property="itemType" column="item_type" />
|
|
|
|
<result property="itemTypeName" column="item_type_name" />
|
|
|
|
<result property="itemTypeName" column="item_type_name" />
|
|
|
|
<result property="factroyCode" column="factroy_code" />
|
|
|
|
<result property="factoryCode" column="factory_code" />
|
|
|
|
<result property="attr1" column="attr1" />
|
|
|
|
<result property="attr1" column="attr1" />
|
|
|
|
<result property="attr2" column="attr2" />
|
|
|
|
<result property="attr2" column="attr2" />
|
|
|
|
<result property="attr3" column="attr3" />
|
|
|
|
<result property="attr3" column="attr3" />
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectEquOrderDetailVo">
|
|
|
|
<sql id="selectEquOrderDetailVo">
|
|
|
|
select id, code, order_code, parent_code, item_code, item_name, item_method,
|
|
|
|
select id, code, order_code, parent_code, item_code, item_name, item_method,
|
|
|
|
item_type, item_type_name, factroy_code, attr1, attr2, attr3, del_flag,
|
|
|
|
item_type, item_type_name, factory_code, attr1, attr2, attr3, del_flag,
|
|
|
|
create_by, create_time, update_by, update_time
|
|
|
|
create_by, create_time, update_by, update_time
|
|
|
|
from equ_order_detail
|
|
|
|
from equ_order_detail
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
<if test="itemMethod != null and itemMethod != ''"> and item_method = #{itemMethod}</if>
|
|
|
|
<if test="itemMethod != null and itemMethod != ''"> and item_method = #{itemMethod}</if>
|
|
|
|
<if test="itemType != null and itemType != ''"> and item_type = #{itemType}</if>
|
|
|
|
<if test="itemType != null and itemType != ''"> and item_type = #{itemType}</if>
|
|
|
|
<if test="itemTypeName != null and itemTypeName != ''"> and item_type_name like concat('%', #{itemTypeName}, '%')</if>
|
|
|
|
<if test="itemTypeName != null and itemTypeName != ''"> and item_type_name like concat('%', #{itemTypeName}, '%')</if>
|
|
|
|
<if test="factroyCode != null and factroyCode != ''"> and factroy_code = #{factroyCode}</if>
|
|
|
|
<if test="factoryCode != null and factoryCode != ''"> and factory_code = #{factoryCode}</if>
|
|
|
|
<if test="attr1 != null and attr1 != ''"> and attr1 = #{attr1}</if>
|
|
|
|
<if test="attr1 != null and attr1 != ''"> and attr1 = #{attr1}</if>
|
|
|
|
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
|
|
|
<if test="attr2 != null and attr2 != ''"> and attr2 = #{attr2}</if>
|
|
|
|
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
|
|
|
<if test="attr3 != null and attr3 != ''"> and attr3 = #{attr3}</if>
|
|
|
@ -78,7 +78,7 @@
|
|
|
|
<if test="itemMethod != null">item_method,</if>
|
|
|
|
<if test="itemMethod != null">item_method,</if>
|
|
|
|
<if test="itemType != null">item_type,</if>
|
|
|
|
<if test="itemType != null">item_type,</if>
|
|
|
|
<if test="itemTypeName != null">item_type_name,</if>
|
|
|
|
<if test="itemTypeName != null">item_type_name,</if>
|
|
|
|
<if test="factroyCode != null and factroyCode != ''">factroy_code,</if>
|
|
|
|
<if test="factoryCode != null and factoryCode != ''">factory_code,</if>
|
|
|
|
<if test="attr1 != null">attr1,</if>
|
|
|
|
<if test="attr1 != null">attr1,</if>
|
|
|
|
<if test="attr2 != null">attr2,</if>
|
|
|
|
<if test="attr2 != null">attr2,</if>
|
|
|
|
<if test="attr3 != null">attr3,</if>
|
|
|
|
<if test="attr3 != null">attr3,</if>
|
|
|
@ -98,7 +98,7 @@
|
|
|
|
<if test="itemMethod != null">#{itemMethod},</if>
|
|
|
|
<if test="itemMethod != null">#{itemMethod},</if>
|
|
|
|
<if test="itemType != null">#{itemType},</if>
|
|
|
|
<if test="itemType != null">#{itemType},</if>
|
|
|
|
<if test="itemTypeName != null">#{itemTypeName},</if>
|
|
|
|
<if test="itemTypeName != null">#{itemTypeName},</if>
|
|
|
|
<if test="factroyCode != null and factroyCode != ''">#{factroyCode},</if>
|
|
|
|
<if test="factoryCode != null and factoryCode != ''">#{factoryCode},</if>
|
|
|
|
<if test="attr1 != null">#{attr1},</if>
|
|
|
|
<if test="attr1 != null">#{attr1},</if>
|
|
|
|
<if test="attr2 != null">#{attr2},</if>
|
|
|
|
<if test="attr2 != null">#{attr2},</if>
|
|
|
|
<if test="attr3 != null">#{attr3},</if>
|
|
|
|
<if test="attr3 != null">#{attr3},</if>
|
|
|
@ -114,7 +114,7 @@
|
|
|
|
(
|
|
|
|
(
|
|
|
|
id, parent_code,
|
|
|
|
id, parent_code,
|
|
|
|
item_code, item_name, item_method,
|
|
|
|
item_code, item_name, item_method,
|
|
|
|
item_type, item_type_name, factroy_code, del_flag,
|
|
|
|
item_type, item_type_name, factory_code, del_flag,
|
|
|
|
create_by, create_time
|
|
|
|
create_by, create_time
|
|
|
|
)
|
|
|
|
)
|
|
|
|
VALUES
|
|
|
|
VALUES
|
|
|
@ -122,7 +122,7 @@
|
|
|
|
(
|
|
|
|
(
|
|
|
|
#{item.id},#{item.parentCode},
|
|
|
|
#{item.id},#{item.parentCode},
|
|
|
|
#{item.itemCode},#{item.itemName},#{item.itemMethod},
|
|
|
|
#{item.itemCode},#{item.itemName},#{item.itemMethod},
|
|
|
|
#{item.itemType},#{item.itemTypeName},#{item.factroyCode},#{item.delFlag},
|
|
|
|
#{item.itemType},#{item.itemTypeName},#{item.factoryCode},#{item.delFlag},
|
|
|
|
#{item.createBy},#{item.createTime}
|
|
|
|
#{item.createBy},#{item.createTime}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
@ -140,7 +140,7 @@
|
|
|
|
<if test="itemMethod != null">item_method = #{itemMethod},</if>
|
|
|
|
<if test="itemMethod != null">item_method = #{itemMethod},</if>
|
|
|
|
<if test="itemType != null">item_type = #{itemType},</if>
|
|
|
|
<if test="itemType != null">item_type = #{itemType},</if>
|
|
|
|
<if test="itemTypeName != null">item_type_name = #{itemTypeName},</if>
|
|
|
|
<if test="itemTypeName != null">item_type_name = #{itemTypeName},</if>
|
|
|
|
<if test="factroyCode != null and factroyCode != ''">factroy_code = #{factroyCode},</if>
|
|
|
|
<if test="factoryCode != null and factoryCode != ''">factory_code = #{factoryCode},</if>
|
|
|
|
<if test="attr1 != null">attr1 = #{attr1},</if>
|
|
|
|
<if test="attr1 != null">attr1 = #{attr1},</if>
|
|
|
|
<if test="attr2 != null">attr2 = #{attr2},</if>
|
|
|
|
<if test="attr2 != null">attr2 = #{attr2},</if>
|
|
|
|
<if test="attr3 != null">attr3 = #{attr3},</if>
|
|
|
|
<if test="attr3 != null">attr3 = #{attr3},</if>
|
|
|
|