From 336eb77c1a07ca3e3ead4482b51f848fa16ab3b7 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期日, 12 十一月 2023 20:15:38 +0800 Subject: [PATCH] 自定义流水相关开发 --- Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateButtonMapper.java | 145 ++++++++++-------------------------------------- 1 files changed, 31 insertions(+), 114 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateButtonMapper.java b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateButtonMapper.java index 1aea1d0..df8b888 100644 --- a/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateButtonMapper.java +++ b/Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/mapper/CodeClassifyTemplateButtonMapper.java @@ -1,127 +1,44 @@ +/* + * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the dreamlu.net developer nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * Author: Chill 搴勯獮 (smallchill@163.com) + */ 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.CodeClassifyTemplateButtonDO; -import com.vci.web.pageModel.BatchCBO; +import com.vci.ubcs.code.entity.CodeClassifyTemplateButton; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.vci.ubcs.code.vo.pagemodel.CodeClassifyTemplateButtonVO; -import java.util.Collection; import java.util.List; -import java.util.Map; /** - * 涓婚搴撻噷妯℃澘鍖呭惈鐨勬寜閽暟鎹搷浣滃眰 + * 缂栫爜搴撳畾涔�-妯℃澘鎸夐挳鎵╁睍 Mapper 鎺ュ彛 * - * @author weidy - * @date 2022-01-24 + * @author yuxc + * @since 2023-04-20 */ -public interface CodeClassifyTemplateButtonMapper { +public interface CodeClassifyTemplateButtonMapper extends BaseMapper<CodeClassifyTemplateButton> { /** - * 浣跨敤涓婚敭鍒犻櫎 - * @param oid 鏁版嵁涓婚敭 - * @return 鎵ц缁撴灉 - */ - BatchCBO deleteByPrimaryKey(String oid); + * 鑷畾涔夊垎椤� + * + * @param page + * @param CodeTempbutton + * @return + */ + List<CodeClassifyTemplateButtonVO> selectCodeTempbuttonPage(IPage page, CodeClassifyTemplateButtonVO CodeTempbutton); - /** - * 娣诲姞鏁版嵁 - * @param record 涓婚搴撻噷妯℃澘鍖呭惈鐨勬寜閽暟鎹璞� - * @return 鎵ц缁撴灉 - */ - BatchCBO insert(CodeClassifyTemplateButtonDO record); - - /** - * 鎵归噺娣诲姞鏁版嵁 - * @param records 涓婚搴撻噷妯℃澘鍖呭惈鐨勬寜閽暟鎹璞¢泦鍚� - * @return 鎵ц缁撴灉鏁� - */ - BatchCBO batchInsert(List<CodeClassifyTemplateButtonDO> records); - - /** - * 鏍规嵁涓婚敭鏌ヨ - * @param oid 鏁版嵁涓婚敭 - * @return 鏁版嵁瀵硅薄 - */ - CodeClassifyTemplateButtonDO selectByPrimaryKey(String oid); - - /** - * 鏍规嵁涓婚敭鎵归噺鑾峰彇瀵硅薄 - * @param oids 涓婚敭锛屽寘鍚崟寮曞彿,浣嗘槸涓嶈兘瓒呰繃1000 - * @return 鏁版嵁瀵硅薄鍒楄〃 - */ - List<CodeClassifyTemplateButtonDO> selectByPrimaryKeys(String oids); - - /** - * 鏍规嵁涓婚敭鎵归噺鏌ヨ瀵硅薄 - * @param oids 瀵硅薄涓婚敭,浣跨敤閫楀彿鍒嗛殧锛屼絾鏄笉鑳借秴杩�1000 - * @return 涓氬姟瀵硅薄 - */ - List<CodeClassifyTemplateButtonDO> selectByPrimaryKeyCollection(Collection<String> oids); - - /** - * 鏌ヨ鎵�鏈夊垎绫� - * @return 鏌ヨ缁撴灉 - */ - List<CodeClassifyTemplateButtonDO> selectAll(); - - /** - * 鏇存柊瀵硅薄 - * @param record 涓婚搴撻噷妯℃澘鍖呭惈鐨勬寜閽暟鎹璞� - * @return 鎵ц缁撴灉 - */ - BatchCBO updateByPrimaryKey(CodeClassifyTemplateButtonDO record); - - /** - * 鎵归噺鏇存柊 - * @param records 涓婚搴撻噷妯℃澘鍖呭惈鐨勬寜閽暟鎹璞¢泦鍚� - * @return 鎵ц缁撴灉琛屾暟 - */ - BatchCBO batchUpdate(List<CodeClassifyTemplateButtonDO> records); - - /** - * 鏍规嵁鏌ヨ鏉′欢鏌ヨ鏁版嵁 - * @param conditionMap 鏌ヨ鏉′欢锛� - * @param pageHelper 鍖呮嫭鍒嗛〉锛屾帓搴� - * @return 鏁版嵁瀵硅薄鍒楄〃 - */ - List<CodeClassifyTemplateButtonDO> selectByCondition(Map<String,String> conditionMap, PageHelper pageHelper); - - /** - * 鏍规嵁鏌ヨ鏉′欢鏉ユ煡璇㈡�绘暟 - * @param conditionMap 鏌ヨ鏉′欢 - * @return 鎬绘暟 - */ - Long countByCondition(Map<String,String> conditionMap); - - /** - * 浣跨敤鏌ヨ灏佽鍣ㄦ潵鏌ヨ - * @param queryWrapper 鏌ヨ灏佽鍣� - * @return 鏁版嵁瀵硅薄鍒楄〃 - */ - List<CodeClassifyTemplateButtonDO> selectByWrapper(VciQueryWrapperForDO queryWrapper); - - /** - * 鏍规嵁鏌ヨ灏佽鍣ㄦ潵鏌ヨ鎬绘暟 - * @param queryWrapper 鏌ヨ灏佽鍣� - * @return 鎬绘暟 - */ - Long countByWrapper(VciQueryWrapperForDO queryWrapper); - - /** - * 鏍规嵁涓婚敭鑾峰彇鍚嶇О - * @param oid 涓婚敭 - * @return 涓枃鍚嶇О - */ - String selectNameByOid(String oid); - - - - /** - * 鎵归噺鍒犻櫎瀵硅薄 - * @param oids 瀵硅薄鐨勪富閿泦鍚� - * @return 鍙楀奖鍝嶇殑琛屾暟 - */ - BatchCBO batchDeleteByOids(Collection<String> oids); } -- Gitblit v1.9.3