|
|
@ -90,7 +90,7 @@ public class ZyOperationtoolController extends JeecgController<ZyOperationtool, |
|
|
|
@PostMapping(value = "/add") |
|
|
|
@PostMapping(value = "/add") |
|
|
|
public Result<?> add(@RequestBody ZyOperationtool zyOperationtool) { |
|
|
|
public Result<?> add(@RequestBody ZyOperationtool zyOperationtool) { |
|
|
|
QueryWrapper s=new QueryWrapper(); |
|
|
|
QueryWrapper s=new QueryWrapper(); |
|
|
|
s.eq("process_id",zyOperationtool.getOperationid()); |
|
|
|
s.eq("operationid",zyOperationtool.getOperationid()); |
|
|
|
s.eq("toolid",zyOperationtool.getToolid()); |
|
|
|
s.eq("toolid",zyOperationtool.getToolid()); |
|
|
|
int a=zyOperationtoolService.count(s); |
|
|
|
int a=zyOperationtoolService.count(s); |
|
|
|
if(a>=1) |
|
|
|
if(a>=1) |
|
|
|