| | |
| | | if (Convert.ToInt32(OperationType) == 1) |
| | | { |
| | | // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); |
| | | bResult = oBill.AddBill(HFilterIdLists, HValue, HElement_type, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | bResult = oBill.AddBill(HFilterIdLists, HValue, HElement_type, user, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | else |
| | | { |
| | |
| | | /// </summary> |
| | | [Route("Xt_FastICScheme/SetDefaultScheme")] |
| | | [HttpGet] |
| | | public object SetDefaultScheme(Int64 HInterID,string user) |
| | | public object SetDefaultScheme(Int64 HInterID,string user,string HModuleName) |
| | | { |
| | | try |
| | | { |
| | | oCN.BeginTran(); |
| | | |
| | | oCN.RunProc("update Xt_FastICSchemeMain set HUseingFlag = 0"); |
| | | oCN.RunProc("update Xt_FastICSchemeMain set HUseingFlag = 0 where HUserCode ='" + user + "' and HBillName = '" + HModuleName + "'"); |
| | | |
| | | oCN.RunProc("update Xt_FastICSchemeMain set HUseingFlag = 1 where HInterID = " + HInterID); |
| | | |