批次明细关键字模糊查询接口修改
This commit is contained in:
parent
a152f9164d
commit
51b3204991
@ -71,6 +71,9 @@
|
|||||||
FROM mt_alone_product_process_batch_det det
|
FROM mt_alone_product_process_batch_det det
|
||||||
LEFT JOIN mt_alone_product_process prodproc ON det.product_process_id = prodproc.id AND det.company_id = prodproc.company_id
|
LEFT JOIN mt_alone_product_process prodproc ON det.product_process_id = prodproc.id AND det.company_id = prodproc.company_id
|
||||||
<where>
|
<where>
|
||||||
|
<if test="keywords != null and keywords != ''">
|
||||||
|
AND prodproc.product_process_name0 LIKE CONCAT('%', #{keywords}, '%')
|
||||||
|
</if>
|
||||||
<if test="productProcessId != null">
|
<if test="productProcessId != null">
|
||||||
AND det.product_process_id = #{productProcessId}
|
AND det.product_process_id = #{productProcessId}
|
||||||
</if>
|
</if>
|
||||||
|
@ -86,7 +86,8 @@ public class ProductProcessBatchDetController {
|
|||||||
*/
|
*/
|
||||||
@ApiOperation(value = "批次生产加工单下的明细查询", notes = "批次生产加工单下的明细查询")
|
@ApiOperation(value = "批次生产加工单下的明细查询", notes = "批次生产加工单下的明细查询")
|
||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "productProcessId", value = "批次生产加工单id", paramType = "query", dataType = "int", required = true)
|
@ApiImplicitParam(name = "productProcessId", value = "批次生产加工单id", paramType = "query", dataType = "int", required = true),
|
||||||
|
@ApiImplicitParam(name = "keywords", value = "关键字", paramType = "query", dataType = "String", required = false)
|
||||||
})
|
})
|
||||||
@OperateLog(description = "批次生产加工单下的明细查询", type = "查询")
|
@OperateLog(description = "批次生产加工单下的明细查询", type = "查询")
|
||||||
@GetMapping("/listByProductProcess")
|
@GetMapping("/listByProductProcess")
|
||||||
|
Loading…
Reference in New Issue
Block a user