| | |
| | | using Newtonsoft.Json.Linq; |
| | | using static Gs.Toolbox.UtilityHelper; |
| | | |
| | | namespace Gs.Wom.Service; |
| | | namespace Gs.Ww; |
| | | |
| | | [ApiGroup(ApiGroupNames.WOM)] |
| | | public class WomdaahbManager : IRomteService |
| | | [ApiGroup(ApiGroupNames.WW)] |
| | | public class WWGDHBManager : IRomteService |
| | | { |
| | | private readonly IHttpContextAccessor _http; |
| | | |
| | | private readonly string _userCode, _userGuid, _orgFids; |
| | | public WomdaahbManager(IHttpContextAccessor httpContextAccessor) |
| | | public WWGDHBManager(IHttpContextAccessor httpContextAccessor) |
| | | { |
| | | _http = httpContextAccessor; |
| | | (_userCode, _userGuid, _orgFids) = |
| | |
| | | SqlParameter[] parameters = |
| | | { |
| | | new("@inMainGuid", guid), |
| | | new("@inP1", ""), |
| | | new("@inP1", "委外工单"), |
| | | new("@inP2", ""), |
| | | new("@inP3", ""), |
| | | new("@inP4", "") |
| | |
| | | using (var conn = new SqlConnection(DbHelperSQL.strConn)) |
| | | { |
| | | using (var cmd = |
| | | new SqlCommand("[prc_wom_daa_select_to_grid]", conn)) |
| | | new SqlCommand("[prc_WW_GD_select_to_grid]", conn)) |
| | | { |
| | | try |
| | | { |
| | |
| | | catch (Exception ex) |
| | | { |
| | | LogHelper.Debug(ToString(), |
| | | "prc_wom_daa_select_to_grid error:" + ex.Message); |
| | | "prc_WW_GD_select_to_grid error:" + ex.Message); |
| | | } |
| | | finally |
| | | { |