|
|
|
@ -408,7 +408,7 @@ public class UdiContrastController {
|
|
|
|
|
@PostMapping("/udi/udirel/drug/delLevel")
|
|
|
|
|
public BaseResponse delLevel(@RequestBody AddProductRequest addProductRequest) {
|
|
|
|
|
boolean b = udiProductService.deleteByNameCode(addProductRequest.getNameCode());
|
|
|
|
|
if(b == true){
|
|
|
|
|
if( b && StrUtil.isNotEmpty(addProductRequest.getYbbm()) && StrUtil.isNotEmpty(addProductRequest.getNameCode())){
|
|
|
|
|
CodeRel codeRel = new CodeRel();
|
|
|
|
|
codeRel.setYbbm(addProductRequest.getYbbm());
|
|
|
|
|
codeRel.setDrugCode(addProductRequest.getNameCode());
|
|
|
|
|