去除分页插件
This commit is contained in:
@@ -77,8 +77,8 @@ public class DepotService {
|
||||
return list;
|
||||
}
|
||||
|
||||
public List<Depot> select(String name, Integer type, String remark, int offset, int rows)throws Exception {
|
||||
List<Depot> list=null;
|
||||
public List<DepotEx> select(String name, Integer type, String remark, int offset, int rows)throws Exception {
|
||||
List<DepotEx> list=null;
|
||||
try{
|
||||
list=depotMapperEx.selectByConditionDepot(name, type, remark, offset, rows);
|
||||
}catch(Exception e){
|
||||
@@ -191,15 +191,6 @@ public class DepotService {
|
||||
return list;
|
||||
}
|
||||
|
||||
public List<DepotEx> getDepotList(Map<String, Object> parameterMap)throws Exception {
|
||||
List<DepotEx> list=null;
|
||||
try{
|
||||
list= depotMapperEx.getDepotList(parameterMap);
|
||||
}catch(Exception e){
|
||||
JshException.readFail(logger, e);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||
public int batchDeleteDepotByIds(String ids)throws Exception {
|
||||
logService.insertLog("仓库",
|
||||
|
||||
@@ -596,6 +596,17 @@ public class MaterialService {
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public Long getMaterialEnableSerialNumberCount(Map<String, Object> parameterMap)throws Exception {
|
||||
Long count =null;
|
||||
try{
|
||||
count= materialMapperEx.getMaterialEnableSerialNumberCount(parameterMap);
|
||||
}catch(Exception e){
|
||||
JshException.readFail(logger, e);
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
@Transactional(value = "transactionManager", rollbackFor = Exception.class)
|
||||
public int batchDeleteMaterialByIds(String ids) throws Exception{
|
||||
logService.insertLog("商品",
|
||||
|
||||
@@ -77,8 +77,8 @@ public class UserService {
|
||||
return list;
|
||||
}
|
||||
|
||||
public List<User> select(String userName, String loginName, int offset, int rows)throws Exception {
|
||||
List<User> list=null;
|
||||
public List<UserEx> select(String userName, String loginName, int offset, int rows)throws Exception {
|
||||
List<UserEx> list=null;
|
||||
try{
|
||||
list=userMapperEx.selectByConditionUser(userName, loginName, offset, rows);
|
||||
}catch(Exception e){
|
||||
@@ -299,16 +299,6 @@ public class UserService {
|
||||
return (User)request.getSession().getAttribute("user");
|
||||
}
|
||||
|
||||
public List<UserEx> getUserList(Map<String, Object> parameterMap) throws Exception{
|
||||
List<UserEx> list=null;
|
||||
try{
|
||||
list= userMapperEx.getUserList(parameterMap);
|
||||
}catch(Exception e){
|
||||
JshException.readFail(logger, e);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据用户名查询id
|
||||
* @param loginName
|
||||
|
||||
Reference in New Issue
Block a user