|
|
|
@ -54,6 +54,14 @@ |
|
|
|
limit #{limit} |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--根据islicode查询商品 --> |
|
|
|
<select id="getGoodsByIsliCode" parameterType="java.lang.String" resultType="cn.chjyj.szwh.bean.Goods"> |
|
|
|
select <include refid="column"/> |
|
|
|
from <include refid="tbName"/> |
|
|
|
where islicode=#{islicode} |
|
|
|
limit 1; |
|
|
|
</select> |
|
|
|
|
|
|
|
<!-- 筛选商品列表 --> |
|
|
|
<select id="getGoodsVoList" parameterType="java.util.Map" resultType="cn.chjyj.szwh.vo.GoodsListVo"> |
|
|
|
SELECT g.id,g.createtime,g.goods_islicode, |
|
|
|
@ -275,4 +283,13 @@ |
|
|
|
where id=#{gid} |
|
|
|
</update> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 其他系统撤销以后,更新本地库的系统--> |
|
|
|
<update id="updateRevocationGoods" parameterType="java.lang.String"> |
|
|
|
update <include refid="tbName"></include> |
|
|
|
set goods_status = 2, |
|
|
|
apply_out =1 |
|
|
|
where goods_status=1 and islicode=#{islicode} |
|
|
|
</update> |
|
|
|
|
|
|
|
</mapper> |