From 694374bb1c6c08e3e79a65f575922e61c5c971fc Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期四, 15 六月 2023 10:29:57 +0800 Subject: [PATCH] 历史导入功能添加 --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/ICodeRuleService.java | 30 +++++++++++++++++++----------- 1 files changed, 19 insertions(+), 11 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/ICodeRuleService.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/ICodeRuleService.java index 3095155..229d537 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/ICodeRuleService.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/service/ICodeRuleService.java @@ -22,10 +22,9 @@ import com.vci.ubcs.code.entity.CodeRule; import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; 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.apache.commons.codec.net.QCodec; +import org.springblade.core.log.exception.ServiceException; import org.springblade.core.mp.support.Query; import org.springblade.core.tool.api.R; @@ -47,14 +46,14 @@ * @param condtionMap * @return */ - IPage<CodeRuleVO> gridCodeRule(Query query, Map<String,Object> condtionMap); + IPage<CodeRuleVO> gridCodeRule(Query query, Map<String,Object> condtionMap) throws VciBaseException; /** * 鏍¢獙缂栫爜瑙勫垯鐨勭姸鎬佹槸鍚﹀彲浠ョ紪杈戞垨鍒犻櫎 * @param lcStatus 缂栫爜瑙勫垯 * @return true琛ㄧず鍙互缂栬緫鎴栧垹闄わ紝false琛ㄧず涓嶅彲浠� */ - boolean checkEditDelStatus(String lcStatus); + boolean checkEditDelStatus(String lcStatus) throws VciBaseException; /** * 澧炲姞涓绘暟鎹紪鐮佽鍒� @@ -83,14 +82,14 @@ * @param oid 缂栫爜瑙勫垯涓婚敭 * @return true琛ㄧず宸茬粡浣跨敤锛宖alse琛ㄧず鏈浣跨敤 */ - boolean isAlreadyInUse(String oid); + boolean isAlreadyInUse(String oid) throws VciBaseException; /** * 鏌ョ湅涓绘暟鎹紪鐮佽鍒欑殑浣跨敤鑼冨洿 * @param oid 缂栫爜瑙勫垯涓婚敭 * @return 涓婚搴撳垎绫讳娇鐢ㄥ埌璇ョ紪鐮佽鍒欑殑鎵�鏈夐泦鍚� */ - Collection<CodeClassifyVO> listUseRangeInCodeClassify(String oid); + Collection<CodeClassifyVO> listUseRangeInCodeClassify(String oid) throws VciBaseException; /** * 涓婚敭鑾峰彇涓绘暟鎹紪鐮佽鍒� @@ -109,6 +108,16 @@ Collection<CodeRuleVO> listCodeRuleByOids(Collection<String> oidCollections) throws VciBaseException; /** + * 涓婚敭鎵归噺鑾峰彇涓绘暟鎹紪鐮佽鍒� + * + * @param oidCollections 涓婚敭闆嗗悎锛屼絾鏄彈鎬ц兘褰卞搷锛屽缓璁竴娆℃煡璇笉瓒呰繃10000涓� + * @param hasSec 鏄惁鍖呭惈鐮佹 + * @return 涓绘暟鎹紪鐮佽鍒欐樉绀哄璞� + * @throws VciBaseException 鏌ヨ鍑虹幇寮傚父鏃朵細鎶涘嚭 + */ + Collection<CodeRuleVO> listCodeRuleByIds(Collection<String> oidCollections,boolean hasSec)throws VciBaseException ; + + /** * 鍙傜収涓绘暟鎹紪鐮佽鍒欏垪琛� * @param bladeQueryObject 鏌ヨ鏉′欢 * @return 涓绘暟鎹紪鐮佽鍒欐樉绀哄璞″垪琛紝鐢熸晥鐨勫唴瀹� @@ -122,27 +131,26 @@ * @param update enable:鍚敤 disable:鍋滅敤 release:鍙戝竷 * @return 鎵ц缁撴灉 */ - R updateStatus(String oid, String update); + R updateStatus(String oid, String update) throws VciBaseException; /** * 鍏嬮殕缂栫爜瑙勫垯 * @param codeRuleDTO 涓绘暟鎹紪鐮佽鍒欐暟鎹紶杈撳璞★紝oid鍜宼s闇�瑕佷紶杈� * @return 涓绘暟鎹紪鐮佽鍒欐樉绀哄璞� */ - R cloneCodeRule(CodeRuleDTO codeRuleDTO); + R cloneCodeRule(CodeRuleDTO codeRuleDTO) throws VciBaseException; /** * 缂栫爜瑙勫垯娓呯┖鎵�鏈夊凡鐢熸垚鐨勭紪鐮� * @param oid 缂栫爜瑙勫垯涓婚敭 * @return 鎵ц缁撴灉 */ - R clearAllCode(String oid); - + R clearAllCode(String oid) throws VciBaseException; /** * 浣跨敤涓婚敭鑾峰彇缂栫爜瑙勫垯鐨勫唴瀹� * @param codeRuleOid 涓婚敭 * @return 瑙勫垯鐨勬樉绀哄璞� */ - CodeRuleVO getObjectHasSecByOid(String codeRuleOid); + CodeRuleVO getObjectHasSecByOid(String codeRuleOid) throws VciBaseException; } -- Gitblit v1.9.3