rev:刻字上料半成品库存过滤
This commit is contained in:
@@ -53,7 +53,9 @@ public class StIvtStructivtBcpController {
|
||||
//("半成品库存查询")
|
||||
public ResponseEntity<Object> bypdaQuery(@RequestBody PageQuery query) {
|
||||
query.setPage(0);
|
||||
return new ResponseEntity<>(bcpService.packageQuery(new StructIvtBcpQuery(),query), HttpStatus.OK);
|
||||
StructIvtBcpQuery bcpQuery = new StructIvtBcpQuery();
|
||||
bcpQuery.setIs_lock("0");
|
||||
return new ResponseEntity<>(bcpService.packageQuery(bcpQuery,query), HttpStatus.OK);
|
||||
}
|
||||
|
||||
@GetMapping("/getBcpIvt")
|
||||
|
||||
@@ -155,6 +155,9 @@
|
||||
(mater.material_name LIKE #{query.material_code}) or
|
||||
(mater.material_spec LIKE #{query.material_code})
|
||||
</if>
|
||||
<if test="query.is_lock!= null and query.is_lock != ''">
|
||||
and attr.lock_type = '0'
|
||||
</if>
|
||||
<if test="query.struct_code!= null and query.struct_code != ''">
|
||||
and attr.struct_code LIKE #{query.struct_code} or
|
||||
(attr.struct_name LIKE #{query.struct_code})
|
||||
|
||||
@@ -24,6 +24,8 @@ public class StructIvtBcpQuery extends BaseQuery<StIvtStructivtBcp> {
|
||||
|
||||
private String struct_code;
|
||||
|
||||
private String is_lock;
|
||||
|
||||
private Boolean is_delete = false;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user