显示提示
This commit is contained in:
parent
f72c6fc29d
commit
3e8befc805
|
|
@ -77,7 +77,7 @@ public class MaDevQcController extends BaseController {
|
||||||
@PostMapping("/deleteById")
|
@PostMapping("/deleteById")
|
||||||
public AjaxResult deleteById(@RequestBody MaDevQc maDevQc) {
|
public AjaxResult deleteById(@RequestBody MaDevQc maDevQc) {
|
||||||
if (maDevQc == null || maDevQc.getFileId() == null || maDevQc.getMaId() == null) {
|
if (maDevQc == null || maDevQc.getFileId() == null || maDevQc.getMaId() == null) {
|
||||||
return AjaxResult.error(HttpCodeEnum.TO_PARAM_NULL.getCode(), HttpCodeEnum.TO_PARAM_NULL.getMsg());
|
return AjaxResult.error(HttpCodeEnum.TO_PARAM_NULL.getMsg());
|
||||||
}
|
}
|
||||||
Integer count = maDevQcService.selectDevQcListByMaId(maDevQc.getMaId());
|
Integer count = maDevQcService.selectDevQcListByMaId(maDevQc.getMaId());
|
||||||
if (count <= 1) {
|
if (count <= 1) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue