|
@@ -40,7 +40,7 @@ namespace MySystem
|
|
|
var check = new MerchantAmountSummayService().QueryAmount("TradeAmount", " and IsAct=1 and TradeMonth='" + TradeTime + "' and MerchantId=" + MerchantId + "");
|
|
|
if (check.Count > 0)
|
|
|
{
|
|
|
- dic = new MerchantAmountSummayService().Sum("TradeAmount", " and IsAct=1 and TradeMonth='" + TradeTime + "'");
|
|
|
+ dic = new MerchantAmountSummayService().Sum("TradeAmount", " and IsAct=1 and TradeMonth='" + TradeTime + "' and MerchantId=" + MerchantId + "");
|
|
|
TradeAmount = decimal.Parse(dic["TradeAmount"].ToString());
|
|
|
}
|
|
|
//待考核
|