新增 批量添加目录下书签数量 数量可以自定义
This commit is contained in:
		| @@ -77,7 +77,7 @@ public interface SqMenuMapper extends MyMapper<SqMenu> | ||||
|      * @param menuIds | ||||
|      * @return 结果 | ||||
|      */ | ||||
|     public int updateCountReduce(Long[] menuIds); | ||||
|     public int updateCountReduce(@Param("menuIds")Long[] menuIds,@Param("icount")int icount); | ||||
|  | ||||
|     /** | ||||
|      * 批量添加目录下书签数量  +1 | ||||
| @@ -85,7 +85,7 @@ public interface SqMenuMapper extends MyMapper<SqMenu> | ||||
|      * @param menuIds   +1 | ||||
|      * @return 结果 | ||||
|      */ | ||||
|     public int updateCountAdd(Long[] menuIds); | ||||
|     public int updateCountAdd(@Param("menuIds")Long[] menuIds,@Param("icount")int icount); | ||||
|  | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -13,20 +13,20 @@ public interface ISqMenuService | ||||
| { | ||||
|  | ||||
|     /** | ||||
|      * 批量减少目录下书签数量  -1 | ||||
|      * 批量减少目录下书签数量 | ||||
|      * | ||||
|      * @param menuIds | ||||
|      * @return 结果 | ||||
|      */ | ||||
|     public int updateCountReduce(Long[] menuIds); | ||||
|     public int updateCountReduce(Long[] menuIds,int icount); | ||||
|  | ||||
|     /** | ||||
|      * 批量添加目录下书签数量  +1 | ||||
|      * 批量添加目录下书签数量 | ||||
|      * | ||||
|      * @param menuIds   +1 | ||||
|      * @param menuIds | ||||
|      * @return 结果 | ||||
|      */ | ||||
|     public int updateCountAdd(Long[] menuIds); | ||||
|     public int updateCountAdd(Long[] menuIds,int icount); | ||||
|     /** | ||||
|      * @auther: Wang | ||||
|      * @date: 2020/08/16 20:04 | ||||
|   | ||||
| @@ -108,24 +108,24 @@ public class SqMenuServiceImpl implements ISqMenuService | ||||
|  | ||||
|  | ||||
|     /** | ||||
|      * 批量减少目录下书签数量  -1 | ||||
|      * 批量减少目录下书签数量 | ||||
|      * | ||||
|      * @param menuIds | ||||
|      * @return 结果 | ||||
|      */ | ||||
|     @Override | ||||
|     public int updateCountReduce(Long[] menuIds){ | ||||
|         return sqMenuMapper.updateCountReduce(menuIds); | ||||
|     public int updateCountReduce(Long[] menuIds,int icount){ | ||||
|         return sqMenuMapper.updateCountReduce(menuIds,icount); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * 批量添加目录下书签数量  +1 | ||||
|      * 批量添加目录下书签数量 | ||||
|      * | ||||
|      * @param menuIds   +1 | ||||
|      * @param menuIds | ||||
|      * @return 结果 | ||||
|      */ | ||||
|     @Override | ||||
|     public int updateCountAdd(Long[] menuIds){ | ||||
|         return sqMenuMapper.updateCountAdd(menuIds); | ||||
|     public int updateCountAdd(Long[] menuIds,int icount){ | ||||
|         return sqMenuMapper.updateCountAdd(menuIds,icount); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user