Browse Source

待结算订单

master
453530270@qq.com 2 years ago
parent
commit
b8988c0146
  1. 6
      src/main/java/cn/chjyj/szwh/service/impl/AccountCloseServiceImpl.java
  2. 5
      src/main/resources/mapper/szwh/OrderUserMapper.xml

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

@ -322,9 +322,11 @@ public class AccountCloseServiceImpl implements AccountCloseService {
// 查询map
List<UserAccountBill> uacblist = userAccountBillMapper.getUserAccBillMap(somap,startrs,ilimit);
BigDecimal income = new BigDecimal(0.00); // 收入
BigDecimal disburse = new BigDecimal(0.00); //支出
// bigdecimal 利用 字符串进行初始化
BigDecimal income = new BigDecimal("0.00"); // 收入
BigDecimal disburse = new BigDecimal("0.00"); //支出
// 返回list
List retlist =new ArrayList();
for(UserAccountBill uac:uacblist){
// 用户信息

5
src/main/resources/mapper/szwh/OrderUserMapper.xml

@ -86,11 +86,8 @@
</foreach>
</if>
<if test="map==null">
u.id IN (SELECT MAX(id) FROM order_user GROUP BY islicode)
</if>
</where>
GROUP BY u.islicode
u.id IN (SELECT MAX(id) FROM order_user GROUP BY islicode)
</select>
<!-- 搜索姓名或授权码 -->

Loading…
Cancel
Save