feat: item取数据库WIP
This commit is contained in:
parent
0af106ffdc
commit
00f9a9652d
@ -53,7 +53,7 @@
|
||||
|
||||
<select id="selectById" resultMap="BaseResultMap">
|
||||
SELECT I.*, i.DESCRIPTION
|
||||
FROM ITEM I
|
||||
FROM WIP.ITEM I
|
||||
WHERE I.HANDLE=#{handle}
|
||||
</select>
|
||||
|
||||
@ -154,7 +154,7 @@
|
||||
|
||||
<select id="getItemDescription" resultType="HashMap">
|
||||
SELECT A.ITEM ,A.DESCRIPTION
|
||||
FROM ITEM A
|
||||
FROM WIP.ITEM A
|
||||
WHERE A.HANDLE = #{itemBo} AND A.CURRENT_REVISION ='Y'
|
||||
</select>
|
||||
|
||||
@ -318,7 +318,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectPage" resultMap="BaseResultMap">
|
||||
SELECT <choose><when test="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><include refid="Full_Column_List"></include></otherwise></choose> FROM ITEM I
|
||||
SELECT <choose><when test="ew != null and ew.sqlSelect != null">${ew.sqlSelect}</when><otherwise><include refid="Full_Column_List"></include></otherwise></choose> FROM WIP.ITEM I
|
||||
<if test="ew!=null and ew.entity!=null and ew.entity.itemGroupBo!=null">
|
||||
inner join ITEM_GROUP_MEMBER IGM on IGM.ITEM_BO = I.HANDLE and IGM.ITEM_GROUP_BO = #{ew.entity.itemGroupBo}
|
||||
</if>
|
||||
@ -916,7 +916,7 @@
|
||||
|
||||
<select id="selectListByCriteria" resultMap="BaseResultMap">
|
||||
select * from (
|
||||
SELECT I.*, I.DESCRIPTION FROM ITEM I
|
||||
SELECT I.*, I.DESCRIPTION FROM WIP.ITEM I
|
||||
)I
|
||||
<where>
|
||||
<if test="ew!=null and ew.sqlSegment!=null and ew.nonEmptyOfWhere">
|
||||
@ -926,7 +926,7 @@
|
||||
</select>
|
||||
|
||||
<select id="getItemByItemAndSite" resultMap="BaseResultMap">
|
||||
SELECT * FROM ITEM where SITE=#{site} AND ITEM=#{item}
|
||||
SELECT * FROM WIP.ITEM where SITE=#{site} AND ITEM=#{item}
|
||||
</select>
|
||||
|
||||
<select id="selectItemBySfc" resultType="String">
|
||||
@ -954,7 +954,7 @@
|
||||
SELECT
|
||||
I.ITEM,
|
||||
I.DESCRIPTION
|
||||
FROM ITEM I
|
||||
FROM WIP.ITEM I
|
||||
WHERE I.SITE=#{site} and I.ITEM LIKE '5%'
|
||||
<if test="searchText!= '' and searchText != null">
|
||||
AND (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user