Browse Source

补充订单查询

master
xyiege 3 years ago
parent
commit
e4f9bef3fc
  1. 2
      src/main/java/cn/chjyj/szwh/controller/admin/AdminAccountCloseController.java
  2. 4
      src/main/java/cn/chjyj/szwh/service/impl/AccountCloseServiceImpl.java
  3. 2
      src/main/resources/mapper/szwh/UserAccountBillMapper.xml

2
src/main/java/cn/chjyj/szwh/controller/admin/AdminAccountCloseController.java

@ -154,6 +154,8 @@ public class AdminAccountCloseController extends BaseController {
String batchcode=request.getString("batchcode");
if(StringUtils.isEmpty(batchcode)){
batchcode=null;
}else{
batchcode = batchcode.replaceAll("\\s*|\r|\n|\t","");
}
//
Map rmap = accountCloseService.getBillDetail(uesrIsli,batchcode,ipage,ilimit);

4
src/main/java/cn/chjyj/szwh/service/impl/AccountCloseServiceImpl.java

@ -196,7 +196,7 @@ public class AccountCloseServiceImpl implements AccountCloseService {
/**
* 账单明细
* @param uesrIsli
* @param userIsli
* @param ipage
* @param ilimit
* @return
@ -228,7 +228,7 @@ public class AccountCloseServiceImpl implements AccountCloseService {
if(batchcode!=null){
somap.put("batchcode",batchcode.trim());
}
List<UserAccountBill> uacblist = userAccountBillMapper.getUserAccBillMap(somap,start,ilimit);
List<UserAccountBill> uacblist = userAccountBillMapper.getUserAccBillMap(somap,startrs,ilimit);
// list
//List<UserAccountBill> uacblist = userAccountBillMapper.getUserAccBill(uesrIsli,ipage,ilimit);

2
src/main/resources/mapper/szwh/UserAccountBillMapper.xml

@ -36,7 +36,7 @@
</if>
</where>
ORDER BY id DESC
LIMIT #{start},#{limit}
LIMIT #{startrs},#{limit}
</select>
<!-- 统计数量 -->

Loading…
Cancel
Save