| | |
| | | |
| | | <resultMap id="BaseResultMap" type="com.ruoyi.warehouse.pojo.Documentation"> |
| | | <id property="id" column="id" jdbcType="BIGINT"/> |
| | | <result property="categoryName" column="category_name" jdbcType="VARCHAR"/> |
| | | <result property="documentClassificationId" column="document_classification_id"/> |
| | | <result property="docName" column="doc_name" jdbcType="VARCHAR"/> |
| | | <result property="docNumber" column="doc_number" jdbcType="BIGINT"/> |
| | | <result property="year" column="year" jdbcType="BIGINT"/> |
| | |
| | | <select id="listPage" resultType="com.ruoyi.warehouse.pojo.Documentation"> |
| | | select * from documentation |
| | | where 1=1 |
| | | <if test="documentation.categoryName != null"> |
| | | and category_name = #{documentation.categoryName} |
| | | <if test="documentation.documentClassificationId != null"> |
| | | and document_classification_id = #{documentation.documentClassificationId} |
| | | </if> |
| | | <if test="documentation.docName != null"> |
| | | and doc_name = #{documentation.docName} |
| | | </if> |
| | | <if test="documentation.docNumber != null"> |
| | | and doc_number = #{documentation.docNumber} |
| | | </if> |
| | | <if test="documentation.warehouse_goods_shelves_rowcol_id != null"> |
| | | and warehouse_goods_shelves_rowcol_id = #{documentation.warehouseGoodsShelvesRowcolId} |
| | | </if> |
| | | </select> |
| | | <select id="list" resultType="com.ruoyi.warehouse.pojo.Documentation"> |