Commit b93fa806 by QJQ

Merge remote-tracking branch 'origin/feature/20210305_新增删除功能'

parents 19c91817 c0f4ba44
......@@ -128,7 +128,7 @@ namespace Freemud.Coupon.ExportCode.Services
bool isSuccess = false;
using (DbManager db = CreateDbManagerCouponReport())
{
var ret = db.SetCommand(@"delete from [dbo].[Coupon_Export_Record] where id=@id",
var ret = db.SetCommand(@"delete from [dbo].[Coupon_Export_Record] where id=@id and ExportStatus = 0",
db.ParameterEx("@id", id, DbType.Int32))
.ExecuteNonQuery();
......
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