|  |  | 
 |  |  |     private Integer orderCnt; | 
 |  |  |     //金额 | 
 |  |  |     private BigDecimal orderAmount; | 
 |  |  |     //赠送金额 | 
 |  |  |     private BigDecimal rechargeSendAmount; | 
 |  |  |  | 
 |  |  |     private List<String> cityList; | 
 |  |  |  | 
 
 |  |  | 
 |  |  |         a.phone, | 
 |  |  |         d.name nickname, | 
 |  |  |         ( | 
 |  |  |             select ifnull(sum(e.amount),0) | 
 |  |  |             from mall_money_flow e | 
 |  |  |             where e.flow_type = 1 | 
 |  |  |             and e.type = 20 | 
 |  |  |             and e.member_id = a.member_id | 
 |  |  |         ) rechargeSendAmount, | 
 |  |  |         ( | 
 |  |  |             select count(b.id) | 
 |  |  |             from mall_order_info b | 
 |  |  |             <where> | 
 
 |  |  | 
 |  |  |                     {field: 'name', title: '合伙人', minWidth: 100,align:'left'}, | 
 |  |  |                     {field: 'phone', title: '电话', minWidth: 100,align:'left'}, | 
 |  |  |                     {field: 'orderCnt', title: '订单数量', minWidth: 100,align:'left', totalRow:true}, | 
 |  |  |                     {field: 'orderAmount', title: '金额', minWidth: 100,align:'left', totalRow:true} | 
 |  |  |                     {field: 'orderAmount', title: '金额', minWidth: 100,align:'left', totalRow:true}, | 
 |  |  |                     {field: 'rechargeSendAmount', title: '赠送金额', minWidth: 180,align:'left', totalRow:true} | 
 |  |  |                 ]] | 
 |  |  |             }); | 
 |  |  |         } | 
 
 |  |  | 
 |  |  |         form.render(); | 
 |  |  |  | 
 |  |  |         function initagentAmountSetValue() { | 
 |  |  |             alert(agentAmountSet.giveState); | 
 |  |  |             form.val("agent-amount-set-form", { | 
 |  |  |                 "agentAmountValue": agentAmountSet.agentAmountValue, | 
 |  |  |                 "giveState": agentAmountSet.giveState, |