| | |
| | | /// <returns></returns> |
| | | [Route("Sc_MouldDotCheckRuleInter/GetMouldDotCheckRuleInterList")] |
| | | [HttpGet] |
| | | public object GetMouldDotCheckRuleInterList(int MouldProjectID) |
| | | public object GetMouldDotCheckRuleInterList(string sWhere) |
| | | { |
| | | if (MouldProjectID <= 0) |
| | | { |
| | | objjson.code = "0"; |
| | | objjson.count = 0; |
| | | objjson.Message = "产品器具未选择"; |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | string sql = string.Format(@"select * from h_v_Sc_MouldDotCheckRuleBillList"); |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldDotCheckRuleBillList"); |
| | | string sql = string.Format(@"select * from h_v_Sc_MouldDotCheckRuleBillList "); |
| | | ds = oCN.RunProcReturn(sql+sWhere, "h_v_Sc_MouldDotCheckRuleBillList"); |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |
| | | { |
| | | objjson.code = "0"; |