| | |
| | | /// <returns>object</returns> |
| | | [Route("Sc_ProcessExchangeBill/GetICMOBillList")] |
| | | [HttpGet] |
| | | public object GetICMOBillList(int hmainid,int OrganizationID) |
| | | public object GetICMOBillList(int hmainid,int HEntryID, int OrganizationID) |
| | | { |
| | | try |
| | | { |
| | |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("select * from h_v_Sc_ICMOBillListDetail where hmainid=" + hmainid, "h_v_Sc_ICMOBillListDetail"); |
| | | ds = oCN.RunProcReturn("select * from h_v_Sc_ICMOBillListDetail where hmainid=" + hmainid + " and HEntryID=" + HEntryID, "h_v_S_Sc_ICMOBillList"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | |
| | | /// <returns>object</returns> |
| | | [Route("Sc_ProcessExchangeBill/GetICMOBillDetail")] |
| | | [HttpGet] |
| | | public object GetICMOBillDetail(int hmainid, int OrganizationID) |
| | | public object GetICMOBillDetail(int hmainid,int HEntryID, int OrganizationID) |
| | | { |
| | | try |
| | | { |
| | |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("select * from h_v_S_Sc_ICMOBillList where hmainid=" + hmainid, "h_v_S_Sc_ICMOBillList"); |
| | | ds = oCN.RunProcReturn("select * from h_v_S_Sc_ICMOBillList where hmainid=" + hmainid + " and HEntryID=" + HEntryID, "h_v_S_Sc_ICMOBillList"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |