| | |
| | | measure measure, |
| | | a.good_type goodsType |
| | | from shopping_goods a |
| | | where 1=1 |
| | | where 1=1 and staus = '上架' |
| | | <if test="record.queryKey != null and record.queryKey != ''"> |
| | | and (instr(name,#{record.queryKey}) or instr(code ,#{record.queryKey}) or instr(zjm ,#{record.queryKey})) |
| | | </if> |
| | |
| | | <select id="selectShopppingGoodsAipTotal" resultType="java.lang.Integer"> |
| | | select count(1) |
| | | from shopping_goods a |
| | | where 1=1 |
| | | where 1=1 and staus = '上架' |
| | | <if test="record.queryKey != null and record.queryKey != ''"> |
| | | and (instr(name,#{record.queryKey}) or instr(code ,#{record.queryKey}) or instr(zjm ,#{record.queryKey})) |
| | | </if> |