| | |
| | | |
| | | |
| | | <select id="selectStockPage" resultMap="stockResultMap"> |
| | | select * |
| | | from sys_stock |
| | | where is_deleted = 0 |
| | | select * from sys_stock where is_deleted = 0 |
| | | </select> |
| | | |
| | | <select id="selectLists" resultType="org.springblade.modules.stock.vo.StockVO"> |
| | |
| | | <if test="stock.specsValue1!=null and stock.specsValue1 != ''"> |
| | | and st.specs_value1 = #{stock.specsValue1} |
| | | </if> |
| | | <if test="stock.year!=null and stock.year != ''"> |
| | | and st.create_time like concat('%',#{stock.year},'%') |
| | | </if> |
| | | <if test="stock.specsValue2!=null and stock.specsValue2 != ''"> |
| | | and st.specs_value2 = #{stock.specsValue2} |
| | | </if> |