20250220 更新

1.修改批量受理可以重复受理问题
This commit is contained in:
2025-02-20 15:29:03 +08:00
parent 46bc4721aa
commit 1aa2a7a892
2 changed files with 5 additions and 1 deletions

View File

@@ -273,7 +273,7 @@ public class EntrustmentIdentificationMaterialController {
/** /**
* 受理人对检材进行受理 * 受理人对检材进行受理
* *
* @param identificationMaterial * @param identificationMaterialList
* @return * @return
*/ */
@ApiOperation(value = "受理人对检材进行受理提交", notes = "受理人对检材进行受理提交, opCode: 1=通过, -1=不通过, 0=未审核\n" + @ApiOperation(value = "受理人对检材进行受理提交", notes = "受理人对检材进行受理提交, opCode: 1=通过, -1=不通过, 0=未审核\n" +

View File

@@ -720,6 +720,10 @@ public class EntrustmentIdentificationMaterialServiceImpl extends ServiceImpl<En
throw new RuntimeException("委托不在正在受理状态"); throw new RuntimeException("委托不在正在受理状态");
} }
if (im.getAcceptPassed() == 1) {
throw new RuntimeException(String.format("当前id为 [%s] 的检材已经受理,受理编号为 [%s]", im.getId(), im.getAcceptNo()));
}
//------------------- //-------------------
// 更新数据库表数据 // 更新数据库表数据
//------------------- //-------------------