批次明细关键字模糊查询接口修改
This commit is contained in:
父節點
a152f9164d
當前提交
51b3204991
@ -71,6 +71,9 @@
|
||||
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
|
||||
<where>
|
||||
<if test="keywords != null and keywords != ''">
|
||||
AND prodproc.product_process_name0 LIKE CONCAT('%', #{keywords}, '%')
|
||||
</if>
|
||||
<if test="productProcessId != null">
|
||||
AND det.product_process_id = #{productProcessId}
|
||||
</if>
|
||||
|
@ -86,7 +86,8 @@ public class ProductProcessBatchDetController {
|
||||
*/
|
||||
@ApiOperation(value = "批次生产加工单下的明细查询", notes = "批次生产加工单下的明细查询")
|
||||
@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 = "查询")
|
||||
@GetMapping("/listByProductProcess")
|
||||
|
載入中…
新增問題並參考
Block a user