Showing
3 changed files
with
14 additions
and
1 deletions
| @@ -114,7 +114,7 @@ public class SampleResultFeedbackController extends DefaultBaseController { | @@ -114,7 +114,7 @@ public class SampleResultFeedbackController extends DefaultBaseController { | ||
| 114 | * @param id 主键ID | 114 | * @param id 主键ID |
| 115 | * @param response 响应体 | 115 | * @param response 响应体 |
| 116 | */ | 116 | */ |
| 117 | - @ApiOperation("规格变更打印") | 117 | + @ApiOperation("导出反馈单数据") |
| 118 | @GetMapping("/export") | 118 | @GetMapping("/export") |
| 119 | public void export(@NotBlank(message = "id不能为空") String id, String exportType | 119 | public void export(@NotBlank(message = "id不能为空") String id, String exportType |
| 120 | , HttpServletResponse response) { | 120 | , HttpServletResponse response) { |
| @@ -47,4 +47,11 @@ public class QuerySampleResultFeedbackVo extends PageVo implements BaseVo, Seria | @@ -47,4 +47,11 @@ public class QuerySampleResultFeedbackVo extends PageVo implements BaseVo, Seria | ||
| 47 | @ApiModelProperty("订单编号") | 47 | @ApiModelProperty("订单编号") |
| 48 | private String orderNo; | 48 | private String orderNo; |
| 49 | 49 | ||
| 50 | + | ||
| 51 | + /** | ||
| 52 | + * 搜索关键字 | ||
| 53 | + * 客户名称或订单编号 | ||
| 54 | + */ | ||
| 55 | + @ApiModelProperty("搜索关键字") | ||
| 56 | + private String searchKey; | ||
| 50 | } | 57 | } |
| @@ -56,6 +56,12 @@ | @@ -56,6 +56,12 @@ | ||
| 56 | <if test="vo.orderNo != null and vo.orderNo != ''"> | 56 | <if test="vo.orderNo != null and vo.orderNo != ''"> |
| 57 | AND o.order_no LIKE CONCAT('%', #{vo.orderNo}, '%') | 57 | AND o.order_no LIKE CONCAT('%', #{vo.orderNo}, '%') |
| 58 | </if> | 58 | </if> |
| 59 | + <if test="vo.searchKey != null and vo.searchKey != ''"> | ||
| 60 | + AND ( | ||
| 61 | + o.order_no LIKE CONCAT('%', #{vo.searchKey}, '%') | ||
| 62 | + OR c.name LIKE CONCAT('%', #{vo.searchKey}, '%') | ||
| 63 | + ) | ||
| 64 | + </if> | ||
| 59 | </where> | 65 | </where> |
| 60 | </select> | 66 | </select> |
| 61 | </mapper> | 67 | </mapper> |