|
@@ -399,10 +399,12 @@ func (b *bidCreditReport) Create(id int64) error {
|
|
|
}
|
|
|
if orderNo == "" {
|
|
|
biz := map[string]interface{}{
|
|
|
- "scene_code": "ZTB_REPORT_JY",
|
|
|
- "out_biz_no": outBizNo,
|
|
|
- "order_type": consts.ZMReportOrderType[mold], //报告类型
|
|
|
- "report_amount": b.YuanToWan(float64(price * 100)),
|
|
|
+ "scene_code": "ZTB_REPORT_JY",
|
|
|
+ "out_biz_no": outBizNo,
|
|
|
+ "order_type": consts.ZMReportOrderType[mold], //报告类型
|
|
|
+ }
|
|
|
+ if price > 0 {
|
|
|
+ biz["report_amount"] = b.YuanToWan(float64(price * 100))
|
|
|
}
|
|
|
if buyer != "" {
|
|
|
biz["bidding_ep_name"] = buyer
|