Showing
2 changed files
with
9 additions
and
0 deletions
| @@ -65,4 +65,10 @@ public class QueryReplenishmentOrderVo extends PageVo implements BaseVo, Seriali | @@ -65,4 +65,10 @@ public class QueryReplenishmentOrderVo extends PageVo implements BaseVo, Seriali | ||
| 65 | */ | 65 | */ |
| 66 | @ApiModelProperty("搜索条件") | 66 | @ApiModelProperty("搜索条件") |
| 67 | private String searchKey; | 67 | private String searchKey; |
| 68 | + | ||
| 69 | + /** | ||
| 70 | + * 审核状态 | ||
| 71 | + */ | ||
| 72 | + @ApiModelProperty("审核状态") | ||
| 73 | + private String status; | ||
| 68 | } | 74 | } |
| @@ -73,6 +73,9 @@ | @@ -73,6 +73,9 @@ | ||
| 73 | <if test="vo.searchKey != null and vo.searchKey != ''"> | 73 | <if test="vo.searchKey != null and vo.searchKey != ''"> |
| 74 | AND (tb.code LIKE CONCAT('%', #{vo.searchKey},'%') OR cu.name LIKE CONCAT('%', #{vo.searchKey},'%')) | 74 | AND (tb.code LIKE CONCAT('%', #{vo.searchKey},'%') OR cu.name LIKE CONCAT('%', #{vo.searchKey},'%')) |
| 75 | </if> | 75 | </if> |
| 76 | + <if test="vo.status != null and vo.status != ''"> | ||
| 77 | + AND tb.status = #{vo.status} | ||
| 78 | + </if> | ||
| 76 | </where> | 79 | </where> |
| 77 | order by tb.create_time desc | 80 | order by tb.create_time desc |
| 78 | </select> | 81 | </select> |