| | |
| | | <if test="stockSpell != null and stockSpell != '' "> |
| | | and stock_spell like CONCAT('%','${stockSpell}','%') |
| | | </if> |
| | | <!-- <if test="stockType != null and stockType!= ''">--> |
| | | <!-- and stock_gid = #{stockType}--> |
| | | <!-- </if>--> |
| | | <if test="stockType != null and stockType!= ''"> |
| | | and stock_gid = #{stockType} |
| | | </if> |
| | | |
| | | |
| | | </where> |
| | |
| | | <if test="userId != null and userId != ''"> |
| | | AND user_id = #{userId} |
| | | </if> |
| | | <if test="productType != null and productType != ''"> |
| | | AND stock_gid = #{productType} |
| | | </if> |
| | | <if test="positionSn != null and positionSn != ''"> |
| | | AND position_sn LIKE CONCAT('%', #{positionSn}, '%') |
| | | </if> |