| | |
| | | <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="endTime != null "> |
| | | and sell_order_time <![CDATA[<=]]> #{endTime} |
| | | </if> |
| | | <if test="phone != null "> |
| | | and user_id = (select id from user where phone = #{phone}) |
| | | </if> |
| | | |
| | | </where> |
| | | ORDER BY id DESC |
| | | </select> |