| | |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeRuleVO; |
| | | import com.vci.ubcs.starter.exception.VciBaseException; |
| | | import com.vci.ubcs.starter.web.pagemodel.BladeQueryObject; |
| | | import org.springblade.core.log.exception.ServiceException; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | import java.rmi.ServerException; |
| | | import java.util.Collection; |
| | | import java.util.Map; |
| | | |
| | |
| | | |
| | | /** |
| | | * 检查id编号是否重复 |
| | | * @param id 当前编号 |
| | | * @param codeRuleDTO 当前判断是否重复的对象 |
| | | * @return 返回false表示未重复 |
| | | */ |
| | | boolean checkCodeRuleRepeat(String id); |
| | | boolean checkCodeRuleRepeat(CodeRuleDTO codeRuleDTO); |
| | | |
| | | /** |
| | | * 校验编码规则的状态是否可以编辑或删除 |
| | |
| | | * @param codeRuleDTO 主数据编码规则数据传输对象,oid和ts需要传输 |
| | | * @return 主数据编码规则显示对象 |
| | | */ |
| | | R cloneCodeRule(CodeRuleDTO codeRuleDTO) throws VciBaseException; |
| | | R cloneCodeRule(CodeRuleDTO codeRuleDTO) throws ServerException; |
| | | |
| | | /** |
| | | * 编码规则清空所有已生成的编码 |
| | |
| | | * @return 规则的显示对象 |
| | | */ |
| | | CodeRuleVO getObjectHasSecByOid(String codeRuleOid) throws VciBaseException; |
| | | |
| | | /** |
| | | * 检查相似编码规则,并返回对应的结果 |
| | | * @param oid 主键 |
| | | * @return 执行结果 |
| | | */ |
| | | R checkLikeCodeRule(String oid) throws VciBaseException; |
| | | |
| | | } |