From c14fedd8903487457ad0911e8afab47670be754e Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 29 八月 2023 22:15:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeRuleMapper.java | 153 ++++----------------------------------------------
1 files changed, 14 insertions(+), 139 deletions(-)
diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeRuleMapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeRuleMapper.java
index 0fee82c..631095d 100644
--- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeRuleMapper.java
+++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeRuleMapper.java
@@ -1,155 +1,30 @@
package com.vci.ubcs.code.mapper;
-import com.vci.starter.web.pagemodel.PageHelper;
-import com.vci.starter.web.wrapper.VciQueryWrapperForDO;
-import com.vci.ubcs.code.entity.CodeRuleDO;
-import com.vci.web.pageModel.BatchCBO;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.vci.ubcs.code.entity.CodeRule;
+import com.vci.ubcs.code.vo.pagemodel.CodeRuleVO;
+import org.apache.ibatis.annotations.Param;
-import java.util.Collection;
import java.util.List;
-import java.util.Map;
/**
* 涓绘暟鎹紪鐮佽鍒欐暟鎹搷浣滃眰
*
- * @author weidy
+ * @author ludc
* @date 2022-01-24
*/
-public interface CodeRuleMapper {
+public interface CodeRuleMapper extends BaseMapper<CodeRule> {
+
/**
- * 浣跨敤涓婚敭鍒犻櫎
- * @param oid 鏁版嵁涓婚敭
- * @return 鎵ц缁撴灉
- */
- BatchCBO deleteByPrimaryKey(String oid);
-
- /**
- * 娣诲姞鏁版嵁
- * @param record 涓绘暟鎹紪鐮佽鍒欐暟鎹璞�
- * @return 鎵ц缁撴灉
- */
- BatchCBO insert(CodeRuleDO record);
-
- /**
- * 鎵归噺娣诲姞鏁版嵁
- * @param records 涓绘暟鎹紪鐮佽鍒欐暟鎹璞¢泦鍚�
- * @return 鎵ц缁撴灉鏁�
- */
- BatchCBO batchInsert(List<CodeRuleDO> records);
-
- /**
- * 鏍规嵁涓婚敭鏌ヨ
- * @param oid 鏁版嵁涓婚敭
- * @return 鏁版嵁瀵硅薄
- */
- CodeRuleDO selectByPrimaryKey(String oid);
-
- /**
- * 鏍规嵁涓婚敭鎵归噺鑾峰彇瀵硅薄
- * @param oids 涓婚敭锛屽寘鍚崟寮曞彿,浣嗘槸涓嶈兘瓒呰繃1000
- * @return 鏁版嵁瀵硅薄鍒楄〃
- */
- List<CodeRuleDO> selectByPrimaryKeys(String oids);
-
- /**
- * 鏍规嵁涓婚敭鎵归噺鏌ヨ瀵硅薄
- * @param oids 瀵硅薄涓婚敭,浣跨敤閫楀彿鍒嗛殧锛屼絾鏄笉鑳借秴杩�1000
- * @return 涓氬姟瀵硅薄
- */
- List<CodeRuleDO> selectByPrimaryKeyCollection(Collection<String> oids);
-
- /**
- * 浣跨敤缂栧彿闆嗗悎鎵归噺鏌ヨ瀵硅薄
- * @param ids 缂栧彿鐨勯泦鍚�
- * @return 涓氬姟瀵硅薄
+ * 鑷畾涔夊垎椤�
+ *
+ * @param page
+ * @param codeRule
+ * @return
*/
- List<CodeRuleDO> selectByIdCollection(Collection<String> ids);
+// List<CodeRule> selectCodeRulePage(IPage page,@Param("codeRule") CodeRuleVO codeRule);
- /**
- * 鏌ヨ鎵�鏈夊垎绫�
- * @return 鏌ヨ缁撴灉
- */
- List<CodeRuleDO> selectAll();
-
- /**
- * 鏇存柊瀵硅薄
- * @param record 涓绘暟鎹紪鐮佽鍒欐暟鎹璞�
- * @return 鎵ц缁撴灉
- */
- BatchCBO updateByPrimaryKey(CodeRuleDO record);
-
- /**
- * 鎵归噺鏇存柊
- * @param records 涓绘暟鎹紪鐮佽鍒欐暟鎹璞¢泦鍚�
- * @return 鎵ц缁撴灉琛屾暟
- */
- BatchCBO batchUpdate(List<CodeRuleDO> records);
-
- /**
- * 鏍规嵁鏌ヨ鏉′欢鏌ヨ鏁版嵁
- * @param conditionMap 鏌ヨ鏉′欢锛�
- * @param pageHelper 鍖呮嫭鍒嗛〉锛屾帓搴�
- * @return 鏁版嵁瀵硅薄鍒楄〃
- */
- List<CodeRuleDO> selectByCondition(Map<String,String> conditionMap, PageHelper pageHelper);
-
- /**
- * 鏍规嵁鏌ヨ鏉′欢鏉ユ煡璇㈡�绘暟
- * @param conditionMap 鏌ヨ鏉′欢
- * @return 鎬绘暟
- */
- Long countByCondition(Map<String,String> conditionMap);
-
- /**
- * 浣跨敤鏌ヨ灏佽鍣ㄦ潵鏌ヨ
- * @param queryWrapper 鏌ヨ灏佽鍣�
- * @return 鏁版嵁瀵硅薄鍒楄〃
- */
- List<CodeRuleDO> selectByWrapper(VciQueryWrapperForDO queryWrapper);
-
- /**
- * 鏍规嵁鏌ヨ灏佽鍣ㄦ潵鏌ヨ鎬绘暟
- * @param queryWrapper 鏌ヨ灏佽鍣�
- * @return 鎬绘暟
- */
- Long countByWrapper(VciQueryWrapperForDO queryWrapper);
-
- /**
- * 鏍规嵁涓婚敭鑾峰彇鍚嶇О
- * @param oid 涓婚敭
- * @return 涓枃鍚嶇О
- */
- String selectNameByOid(String oid);
-
-
- /**
- * 鎵归噺淇敼鐢熷懡鍛ㄦ湡鐨勭姸鎬�
- * @param oids 涓婚敭闆嗗悎锛屼笉鑳藉ぇ浜�1000
- * @param lcStatus 鐢熷懡鍛ㄦ湡鐨勫��
- * @return 鎵ц鐨勭粨鏋�
- */
- long batchUpdateLcStatus(Collection<String> oids, String lcStatus);
- /**
- * 鏍规嵁涓婚敭鏇存柊鐘舵��
- * @param oid 涓婚敭
- * @param lcStatus 鐢熷懡鍛ㄦ湡鐘舵��
- * @return 鍙楀奖鍝嶇殑琛屾暟
- */
- int updateLcStatus( String oid, String lcStatus);
-
- /**
- * 鎵归噺鍒犻櫎瀵硅薄
- * @param oids 瀵硅薄鐨勪富閿泦鍚�
- * @return 鍙楀奖鍝嶇殑琛屾暟
- */
- BatchCBO batchDeleteByOids(Collection<String> oids);
-
- /**
- * 鍒犻櫎鏁版嵁涓嶈繘琛屾寔涔呭寲锛岃浆鍖栦负batchCBO
- * @param codeRule 缂栫爜瑙勫垯瀵硅薄
- * @return 鍙楀奖鍝嶇殑琛屾暟
- */
- BatchCBO delete4BatchCBO (CodeRuleDO codeRule);
}
--
Gitblit v1.9.3