优化账户和租户两个模块的接口
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.jsh.erp.datasource.entities.Account;
|
||||
import com.jsh.erp.datasource.entities.AccountVo4Sum;
|
||||
import com.jsh.erp.datasource.entities.DepotHead;
|
||||
@@ -17,14 +18,8 @@ public interface AccountMapperEx {
|
||||
@Param("name") String name,
|
||||
@Param("serialNo") String serialNo);
|
||||
|
||||
List<AccountVo4List> selectByConditionAccount(
|
||||
@Param("name") String name,
|
||||
@Param("serialNo") String serialNo,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
Long countsByAccount(
|
||||
IPage<AccountVo4List> selectByConditionAccount(
|
||||
IPage<AccountVo4List> page,
|
||||
@Param("name") String name,
|
||||
@Param("serialNo") String serialNo,
|
||||
@Param("remark") String remark);
|
||||
@@ -59,8 +54,8 @@ public interface AccountMapperEx {
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("forceFlag") Boolean forceFlag,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
@Param("offset") Long offset,
|
||||
@Param("rows") Long rows);
|
||||
|
||||
List<DepotHead> getManyAccountSumByParam(
|
||||
@Param("beginTime") String beginTime,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Tenant;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.jsh.erp.datasource.entities.TenantEx;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
@@ -8,15 +8,8 @@ import java.util.List;
|
||||
|
||||
public interface TenantMapperEx {
|
||||
|
||||
List<TenantEx> selectByConditionTenant(
|
||||
@Param("loginName") String loginName,
|
||||
@Param("type") String type,
|
||||
@Param("enabled") String enabled,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
Long countsByTenant(
|
||||
IPage<TenantEx> selectByConditionTenant(
|
||||
IPage<TenantEx> page,
|
||||
@Param("loginName") String loginName,
|
||||
@Param("type") String type,
|
||||
@Param("enabled") String enabled,
|
||||
|
||||
Reference in New Issue
Block a user