|
@@ -301,6 +301,7 @@ public class BillManFacade {
|
|
|
}
|
|
|
//修改成已存在规则
|
|
|
if (billSaveVO.getRelationId() != null
|
|
|
+ && existRelation != null
|
|
|
&& !billSaveVO.getRelationId().equals(existRelation.getRelationId())) {
|
|
|
throw new CommonException(CommonErrorCode.IS_EXISTS, "规则已存在");
|
|
|
}
|