| | |
| | | ) |
| | | </insert> |
| | | |
| | | |
| | | <!-- 查询仓库信息(Business) add by wuxw 2018-07-03 --> |
| | | <select id="getBusinessStorehouseInfo" parameterType="Map" resultType="Map"> |
| | | select t.sh_desc,t.sh_desc shDesc,t.sh_type,t.sh_type shType,t.sh_obj_id,t.sh_obj_id |
| | |
| | | <if test="storeId !=null and storeId != ''"> |
| | | and t.store_id= #{storeId} |
| | | </if> |
| | | |
| | | </select> |
| | | |
| | | |
| | | <!-- 保存仓库信息至 instance表中 add by wuxw 2018-07-03 --> |
| | | <insert id="saveStorehouseInfoInstance" parameterType="Map"> |
| | |
| | | <if test="storeId !=null and storeId != ''"> |
| | | and t.store_id= #{storeId} |
| | | </if> |
| | | |
| | | </insert> |
| | | |
| | | |
| | | <!-- 查询仓库信息 add by wuxw 2018-07-03 --> |
| | | <select id="getStorehouseInfo" parameterType="Map" resultType="Map"> |
| | |
| | | </if> |
| | | <if test="shObjIds !=null"> |
| | | and t.sh_obj_id in |
| | | <foreach collection="shObjIds" item="taskId" index="index" open="(" close=")" separator=","> |
| | | <foreach collection="shObjIds" item="item" index="index" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | |
| | | <if test="page != -1 and page != null "> |
| | | limit #{page}, #{row} |
| | | </if> |
| | | |
| | | </select> |
| | | |
| | | |
| | | <!-- 修改仓库信息 add by wuxw 2018-07-03 --> |
| | | <update id="updateStorehouseInfoInstance" parameterType="Map"> |
| | |
| | | <if test="bId !=null and bId != ''"> |
| | | and t.b_id= #{bId} |
| | | </if> |
| | | |
| | | </update> |
| | | |
| | | <!-- 查询仓库数量 add by wuxw 2018-07-03 --> |
| | |
| | | <if test="storeId !=null and storeId != ''"> |
| | | and t.store_id= #{storeId} |
| | | </if> |
| | | |
| | | |
| | | </select> |
| | | |
| | | </mapper> |