更新Mapper的文件结构
This commit is contained in:
@@ -97,29 +97,4 @@ public interface AccountHeadMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(AccountHead record);
|
||||
|
||||
List<AccountHeadVo4ListEx> selectByConditionAccountHead(
|
||||
@Param("type") String type,
|
||||
@Param("billNo") String billNo,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByAccountHead(
|
||||
@Param("type") String type,
|
||||
@Param("billNo") String billNo,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime);
|
||||
|
||||
Long getMaxId();
|
||||
|
||||
BigDecimal findAllMoney(
|
||||
@Param("supplierId") Integer supplierId,
|
||||
@Param("type") String type,
|
||||
@Param("modeName") String modeName,
|
||||
@Param("endTime") String endTime);
|
||||
|
||||
List<AccountHeadVo4ListEx> getDetailByNumber(
|
||||
@Param("billNo") String billNo);
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.AccountHead;
|
||||
import com.jsh.erp.datasource.entities.AccountHeadExample;
|
||||
import com.jsh.erp.datasource.entities.AccountHeadVo4ListEx;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public interface AccountHeadMapperEx {
|
||||
|
||||
List<AccountHeadVo4ListEx> selectByConditionAccountHead(
|
||||
@Param("type") String type,
|
||||
@Param("billNo") String billNo,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByAccountHead(
|
||||
@Param("type") String type,
|
||||
@Param("billNo") String billNo,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime);
|
||||
|
||||
Long getMaxId();
|
||||
|
||||
BigDecimal findAllMoney(
|
||||
@Param("supplierId") Integer supplierId,
|
||||
@Param("type") String type,
|
||||
@Param("modeName") String modeName,
|
||||
@Param("endTime") String endTime);
|
||||
|
||||
List<AccountHeadVo4ListEx> getDetailByNumber(
|
||||
@Param("billNo") String billNo);
|
||||
}
|
||||
@@ -95,20 +95,4 @@ public interface AccountItemMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(AccountItem record);
|
||||
|
||||
List<AccountItem> selectByConditionAccountItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByAccountItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark);
|
||||
|
||||
List<AccountItemVo4List> getDetailList(
|
||||
@Param("headerId") Long headerId);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.AccountItem;
|
||||
import com.jsh.erp.datasource.entities.AccountItemExample;
|
||||
import com.jsh.erp.datasource.vo.AccountItemVo4List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface AccountItemMapperEx {
|
||||
|
||||
List<AccountItem> selectByConditionAccountItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByAccountItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark);
|
||||
|
||||
List<AccountItemVo4List> getDetailList(
|
||||
@Param("headerId") Long headerId);
|
||||
|
||||
}
|
||||
@@ -96,24 +96,4 @@ public interface AccountMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Account record);
|
||||
|
||||
List<AccountVo4List> selectByConditionAccount(
|
||||
@Param("name") String name,
|
||||
@Param("serialNo") String serialNo,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByAccount(
|
||||
@Param("name") String name,
|
||||
@Param("serialNo") String serialNo,
|
||||
@Param("remark") String remark);
|
||||
|
||||
List<AccountVo4InOutList> findAccountInOutList(
|
||||
@Param("accountId") Long accountId,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int findAccountInOutListCount(
|
||||
@Param("accountId") Long accountId);
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Account;
|
||||
import com.jsh.erp.datasource.entities.AccountExample;
|
||||
import com.jsh.erp.datasource.vo.AccountVo4InOutList;
|
||||
import com.jsh.erp.datasource.vo.AccountVo4List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface AccountMapperEx {
|
||||
|
||||
List<AccountVo4List> selectByConditionAccount(
|
||||
@Param("name") String name,
|
||||
@Param("serialNo") String serialNo,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByAccount(
|
||||
@Param("name") String name,
|
||||
@Param("serialNo") String serialNo,
|
||||
@Param("remark") String remark);
|
||||
|
||||
List<AccountVo4InOutList> findAccountInOutList(
|
||||
@Param("accountId") Long accountId,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int findAccountInOutListCount(
|
||||
@Param("accountId") Long accountId);
|
||||
}
|
||||
@@ -94,13 +94,4 @@ public interface AppMapper {
|
||||
*/
|
||||
int updateByPrimaryKey(App record);
|
||||
|
||||
List<App> selectByConditionApp(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByApp(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.App;
|
||||
import com.jsh.erp.datasource.entities.AppExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface AppMapperEx {
|
||||
|
||||
List<App> selectByConditionApp(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByApp(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type);
|
||||
}
|
||||
@@ -100,7 +100,4 @@ public interface DepotHeadMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(DepotHead record);
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -95,7 +95,4 @@ public interface DepotItemMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(DepotItem record);
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -93,16 +93,4 @@ public interface DepotMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Depot record);
|
||||
|
||||
List<Depot> selectByConditionDepot(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByDepot(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Depot;
|
||||
import com.jsh.erp.datasource.entities.DepotExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface DepotMapperEx {
|
||||
|
||||
List<Depot> selectByConditionDepot(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByDepot(
|
||||
@Param("name") String name,
|
||||
@Param("type") Integer type,
|
||||
@Param("remark") String remark);
|
||||
}
|
||||
@@ -93,14 +93,4 @@ public interface FunctionsMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Functions record);
|
||||
|
||||
List<Functions> selectByConditionFunctions(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByFunctions(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Functions;
|
||||
import com.jsh.erp.datasource.entities.FunctionsExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface FunctionsMapperEx {
|
||||
|
||||
List<Functions> selectByConditionFunctions(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByFunctions(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type);
|
||||
}
|
||||
@@ -93,16 +93,4 @@ public interface InOutItemMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(InOutItem record);
|
||||
|
||||
List<InOutItem> selectByConditionInOutItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByInOutItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("remark") String remark);
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.InOutItem;
|
||||
import com.jsh.erp.datasource.entities.InOutItemExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface InOutItemMapperEx {
|
||||
|
||||
List<InOutItem> selectByConditionInOutItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("remark") String remark,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByInOutItem(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("remark") String remark);
|
||||
}
|
||||
@@ -95,24 +95,4 @@ public interface LogMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Log record);
|
||||
|
||||
List<LogVo4List> selectByConditionLog(
|
||||
@Param("operation") String operation,
|
||||
@Param("usernameID") Integer usernameID,
|
||||
@Param("clientIp") String clientIp,
|
||||
@Param("status") Integer status,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("contentdetails") String contentdetails,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByLog(
|
||||
@Param("operation") String operation,
|
||||
@Param("usernameID") Integer usernameID,
|
||||
@Param("clientIp") String clientIp,
|
||||
@Param("status") Integer status,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("contentdetails") String contentdetails);
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Log;
|
||||
import com.jsh.erp.datasource.entities.LogExample;
|
||||
import com.jsh.erp.datasource.vo.LogVo4List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface LogMapperEx {
|
||||
|
||||
List<LogVo4List> selectByConditionLog(
|
||||
@Param("operation") String operation,
|
||||
@Param("usernameID") Integer usernameID,
|
||||
@Param("clientIp") String clientIp,
|
||||
@Param("status") Integer status,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("contentdetails") String contentdetails,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByLog(
|
||||
@Param("operation") String operation,
|
||||
@Param("usernameID") Integer usernameID,
|
||||
@Param("clientIp") String clientIp,
|
||||
@Param("status") Integer status,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("contentdetails") String contentdetails);
|
||||
}
|
||||
@@ -93,11 +93,4 @@ public interface MaterialPropertyMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(MaterialProperty record);
|
||||
|
||||
List<MaterialProperty> selectByConditionMaterialProperty(
|
||||
@Param("name") String name,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByMaterialProperty(@Param("name") String name);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.MaterialProperty;
|
||||
import com.jsh.erp.datasource.entities.MaterialPropertyExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface MaterialPropertyMapperEx {
|
||||
|
||||
List<MaterialProperty> selectByConditionMaterialProperty(
|
||||
@Param("name") String name,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByMaterialProperty(@Param("name") String name);
|
||||
}
|
||||
@@ -93,14 +93,4 @@ public interface PersonMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Person record);
|
||||
|
||||
List<Person> selectByConditionPerson(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByPerson(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Person;
|
||||
import com.jsh.erp.datasource.entities.PersonExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface PersonMapperEx {
|
||||
|
||||
List<Person> selectByConditionPerson(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByPerson(
|
||||
@Param("name") String name,
|
||||
@Param("type") String type);
|
||||
}
|
||||
@@ -93,12 +93,4 @@ public interface RoleMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Role record);
|
||||
|
||||
List<Role> selectByConditionRole(
|
||||
@Param("name") String name,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByRole(
|
||||
@Param("name") String name);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Role;
|
||||
import com.jsh.erp.datasource.entities.RoleExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface RoleMapperEx {
|
||||
|
||||
List<Role> selectByConditionRole(
|
||||
@Param("name") String name,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByRole(
|
||||
@Param("name") String name);
|
||||
}
|
||||
@@ -93,27 +93,4 @@ public interface SupplierMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Supplier record);
|
||||
|
||||
List<Supplier> selectByConditionSupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsBySupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description);
|
||||
|
||||
List<Supplier> findByAll(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description);
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Supplier;
|
||||
import com.jsh.erp.datasource.entities.SupplierExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SupplierMapperEx {
|
||||
|
||||
List<Supplier> selectByConditionSupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsBySupplier(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description);
|
||||
|
||||
List<Supplier> findByAll(
|
||||
@Param("supplier") String supplier,
|
||||
@Param("type") String type,
|
||||
@Param("phonenum") String phonenum,
|
||||
@Param("telephone") String telephone,
|
||||
@Param("description") String description);
|
||||
}
|
||||
@@ -93,10 +93,4 @@ public interface SystemConfigMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(SystemConfig record);
|
||||
|
||||
List<SystemConfig> selectByConditionSystemConfig(
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsBySystemConfig();
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.SystemConfig;
|
||||
import com.jsh.erp.datasource.entities.SystemConfigExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SystemConfigMapperEx {
|
||||
|
||||
List<SystemConfig> selectByConditionSystemConfig(
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsBySystemConfig();
|
||||
}
|
||||
@@ -93,12 +93,4 @@ public interface UnitMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(Unit record);
|
||||
|
||||
List<Unit> selectByConditionUnit(
|
||||
@Param("name") String name,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByUnit(
|
||||
@Param("name") String name);
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Unit;
|
||||
import com.jsh.erp.datasource.entities.UnitExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface UnitMapperEx {
|
||||
|
||||
List<Unit> selectByConditionUnit(
|
||||
@Param("name") String name,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByUnit(
|
||||
@Param("name") String name);
|
||||
}
|
||||
@@ -93,14 +93,4 @@ public interface UserMapper {
|
||||
* @mbggenerated
|
||||
*/
|
||||
int updateByPrimaryKey(User record);
|
||||
|
||||
List<User> selectByConditionUser(
|
||||
@Param("userName") String userName,
|
||||
@Param("loginName") String loginName,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByUser(
|
||||
@Param("userName") String userName,
|
||||
@Param("loginName") String loginName);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.User;
|
||||
import com.jsh.erp.datasource.entities.UserExample;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface UserMapperEx {
|
||||
|
||||
List<User> selectByConditionUser(
|
||||
@Param("userName") String userName,
|
||||
@Param("loginName") String loginName,
|
||||
@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows);
|
||||
|
||||
int countsByUser(
|
||||
@Param("userName") String userName,
|
||||
@Param("loginName") String loginName);
|
||||
}
|
||||
Reference in New Issue
Block a user