|
|
|
@@ -834,6 +834,11 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService |
|
|
|
|
|
|
|
private WxAllBill generateBillProperty(WxPayAccountBill wxPayAccountBill,WxPropertyContract wxPropertyContract,Integer isPreview,Date start,Date end,Date receiveDate,String needpay, |
|
|
|
MallUserInfo user,Integer billcount,Map<String, Object> shopInfo,String standarsTotal,String remark,Long parentBillId,Long feesStandardsId) { |
|
|
|
if (StringUtils.isBlank(needpay)) { |
|
|
|
needpay = "0"; |
|
|
|
}else { |
|
|
|
needpay = new BigDecimal(needpay).setScale(wxPropertyContract.getDecimalSize(),BigDecimal.ROUND_HALF_UP).toPlainString(); |
|
|
|
} |
|
|
|
final IdWorker idWorker = IdWorker.get(); |
|
|
|
WxAllBill wxBillProperty = new WxAllBill(); |
|
|
|
wxBillProperty.setIsPreview(isPreview); |
|
|
|
|