| | |
| | | <if test="stockType != null and stockType != '' "> |
| | | and stock_type = #{stockType} |
| | | </if> |
| | | <if test="stockType != null and stockType != '' "> |
| | | and stock_type = #{stockType} |
| | | </if> |
| | | |
| | | </where> |
| | | ORDER BY id ASC |
| | | </select> |
| | | |
| | | |
| | | <select id="dailyLimitQuery" resultMap="BaseResultMap" parameterType="map"> |
| | | SELECT |
| | | <include refid="Base_Column_List" /> |
| | | from stock |
| | | <where> |
| | | is_show = ${show} |
| | | <if test="keyWords != null and keyWords != '' "> |
| | | and ( stock_spell like concat('%',#{keyWords},'%') |
| | | or stock_name like concat('%',#{keyWords},'%') ) |
| | | </if> |
| | | |
| | | <!-- <if test="stockPlate != null and stockPlate != '' ">--> |
| | | <!-- and stock_plate = #{stockPlate}--> |
| | | <!-- </if>--> |
| | | <!-- <if test="stockPlate == null or stockPlate == '' ">--> |
| | | <!-- and (stock_plate is null or stock_plate='' or stock_plate='η§ε' or stock_plate='εδΈ' )--> |
| | | <!-- </if>--> |
| | | <if test="stockType != null and stockType != '' "> |
| | | and stock_type = #{stockType} |
| | | and increase_ratio > 19.5 |
| | | </if> |
| | | <if test="stockType != null and stockType != '' "> |
| | | and stock_type = #{stockType} |
| | | </if> |
| | | |
| | | </where> |
| | | ORDER BY id ASC |