src/main/java/com/mzl/flower/dto/request/supplier/QuerySupplierDTO.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/mapper/supplier/SupplierMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/mzl/flower/dto/request/supplier/QuerySupplierDTO.java
@@ -32,4 +32,7 @@ @ApiModelProperty("启用/禁用(USER_ENABLED_OR_DISABLED)") private Integer isEnabled; @ApiModelProperty("供应商ID") private Long id; } src/main/resources/mapper/supplier/SupplierMapper.xml
@@ -40,6 +40,9 @@ <if test="dto.isEnabled!=null"> AND t.is_enabled = #{dto.isEnabled} </if> <if test="dto.id!=null"> AND t.id = #{dto.id} </if> order by t.create_time desc </select> <select id="findSupplierDetail" resultType="com.mzl.flower.dto.response.supplier.SupplierDTO"