|
|
@@ -5,7 +5,7 @@
|
|
|
<mapper namespace="storehouseServiceDaoImpl">
|
|
|
<!-- 查询仓库信息 add by wuxw 2018-07-03 -->
|
|
|
<select id="getStorehouseInfo" parameterType="Map" resultType="Map">
|
|
|
- select t.sh_desc,t.sh_desc shDesc,t.sh_type,t.sh_id,t.sh_id
|
|
|
+ select t.sh_desc,t.sh_desc shDesc,t.sh_id,t.sh_id
|
|
|
shId,t.status_cd,t.status_cd statusCd,t.sh_name,t.sh_name shName,t.store_id,t.store_id
|
|
|
storeId,t.is_show,t.is_show isShow,t.create_time createTime,t.purchase_switch purchaseSwitch,
|
|
|
t.purchase_raf_id purchaseRafId,t.use_switch useSwitch,t.use_raf_id useRafId,
|
|
|
@@ -15,18 +15,6 @@
|
|
|
<if test="shDesc !=null and shDesc != ''">
|
|
|
and t.sh_desc= #{shDesc}
|
|
|
</if>
|
|
|
- <if test="shType !=null and shType != ''">
|
|
|
- and t.sh_type= #{shType}
|
|
|
- </if>
|
|
|
- <if test="shObjId !=null and shObjId != ''">
|
|
|
- and t.sh_obj_id= #{shObjId}
|
|
|
- </if>
|
|
|
- <if test="shObjIds !=null">
|
|
|
- and t.sh_obj_id in
|
|
|
- <foreach collection="shObjIds" item="item" index="index" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
<if test="shId !=null and shId != ''">
|
|
|
and t.sh_id= #{shId}
|
|
|
</if>
|
|
|
@@ -59,18 +47,7 @@
|
|
|
<if test="shDesc !=null and shDesc != ''">
|
|
|
and t.sh_desc= #{shDesc}
|
|
|
</if>
|
|
|
- <if test="shType !=null and shType != ''">
|
|
|
- and t.sh_type= #{shType}
|
|
|
- </if>
|
|
|
- <if test="shObjId !=null and shObjId != ''">
|
|
|
- and t.sh_obj_id= #{shObjId}
|
|
|
- </if>
|
|
|
- <if test="shObjIds !=null">
|
|
|
- and t.sh_obj_id in
|
|
|
- <foreach collection="shObjIds" item="item" index="index" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
+
|
|
|
<if test="shId !=null and shId != ''">
|
|
|
and t.sh_id= #{shId}
|
|
|
</if>
|