Commit 47af129c by guanzhenshan

金额为0的不显示

parent 3b2d5d47
......@@ -7358,10 +7358,14 @@ group by currency";
/// oms发货收入列表
/// </summary>
/// <param name="month"></param>
/// <param name="isFBA">是否FBA,true 是</param>
/// <returns></returns>
public List<dc_month_shipping_incoming> ListMonthShippingIncoming(string month)
public List<dc_month_shipping_incoming> ListMonthShippingIncoming(string month,bool isFBA=false)
{
var sql = $"select * from dc_month_shipping_incoming where month='{month}'";
var sql = $"select * from dc_month_shipping_incoming where month='{month}' and amount>0";
sql += " and platform_type "+(isFBA?"=":"!=")+"'FBA'";
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString_read))
{
if(cn.State== ConnectionState.Closed)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment