|
|
|
@ -34,11 +34,10 @@ |
|
|
|
where uid=#{uid} |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--查询用户名,加上密码--> |
|
|
|
<select id="getUserByUname" parameterType="java.lang.String" resultType="cn.chjyj.szwh.bean.Goods"> |
|
|
|
select <include refid="column"/>,password |
|
|
|
from <include refid="tbName"/> |
|
|
|
where uname=#{uname} limit 1; |
|
|
|
<!--根据 goodsIsli 查询商品信息--> |
|
|
|
<select id="getGoodsByIsli" parameterType="java.lang.String" resultType="cn.chjyj.szwh.bean.Goods"> |
|
|
|
select <include refid="column"/> from <include refid="tbName"/> |
|
|
|
where goods_islicode=#{goodsIsli} limit 1; |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--查询用户--> |
|
|
|
|