|
@@ -51,14 +51,14 @@ public class YiBaoKeShiPiPeiService {
|
|
|
* @param flag 判断是删除 还是 匹配
|
|
|
* @return 返回提示信息
|
|
|
*/
|
|
|
- public ResultVo<Integer> piPeiKeShi(String benYuanCode, String yiBaoCode, Integer flag) {
|
|
|
+ public ResultVo<Integer> piPeiKeShi(String benYuanCode, String yiBaoCode, String yiBaoName, Integer flag) {
|
|
|
if (flag == 1) {
|
|
|
log.info("匹配医保科室编码 ==> 操作人:{},本院编码:{},医保编码:{}", TokenUtil.getInstance().getTokenUserId(), benYuanCode, yiBaoCode);
|
|
|
- dao.piPeiKeShi(benYuanCode, yiBaoCode);
|
|
|
+ dao.piPeiKeShi(benYuanCode, yiBaoCode, yiBaoName);
|
|
|
return ResultVoUtil.success(ExceptionEnum.SUCCESS_AND_EL_MESSAGE, "匹配成功。");
|
|
|
} else {
|
|
|
log.info("删除医保科室匹配关系 ==> 操作人:{},本院编码:{},医保编码:{}", TokenUtil.getInstance().getTokenUserId(), benYuanCode, yiBaoCode);
|
|
|
- dao.piPeiKeShi(benYuanCode, null);
|
|
|
+ dao.piPeiKeShi(benYuanCode, null, null);
|
|
|
return ResultVoUtil.success(ExceptionEnum.SUCCESS_AND_EL_MESSAGE, "删除匹配成功。");
|
|
|
}
|
|
|
}
|