|
|
|
@ -128,12 +128,13 @@ namespace BWP.B3WeChat.Rpcs |
|
|
|
} |
|
|
|
|
|
|
|
[Rpc] |
|
|
|
public static void CleanByDependOn(string dependOn) |
|
|
|
public static void CleanByDependOn(string dependOn,string currentBusinessNo) |
|
|
|
{ |
|
|
|
var context = CustomerUserContext.Current; |
|
|
|
var del = new DQDeleteDom(typeof(ApproveMessage)); |
|
|
|
del.Where.Conditions.Add(DQCondition.EQ("DependOn", dependOn)); |
|
|
|
del.Where.Conditions.Add(DQCondition.EQ("CustomerCode", context.CustomerCode)); |
|
|
|
del.Where.Conditions.Add(DQCondition.InEQ("BusinessNo", currentBusinessNo)); |
|
|
|
del.EExecute(); |
|
|
|
} |
|
|
|
|
|
|
|
|