| | |
| | | where FHMainICMOInterIDr ='{0}' and FIDENTIFICAT=2 and FHMATERID ='{1}'", FHMainICMOInterIDr, FMatrailId); |
| | | sql = string.Format(@"/*dialect*/select a.*,b.FBILLNO FBILLNOs from JIT_MOMaterReadysBill a |
| | | left join T_PRD_MO b on a.FHMainICMOInterIDr=b.FID |
| | | where FHMATERID ='{0}'", FMatrailId); |
| | | where FCompleteCount>0 and FHMATERID ='{0}'", FMatrailId); |
| | | DataTable dt = DBServiceHelper.ExecuteDataSet(this.Context, sql).Tables[0]; |
| | | if (dt.Rows.Count > 0) |
| | | { |
| | |
| | | /// </summary> |
| | | public void SearchList() |
| | | { |
| | | string sqlwhere = " where 1=1"; |
| | | string sqlwhere = " where FCompleteCount>0 and 1=1"; |
| | | string sql = string.Format(@"/*dialect*/select a.*,b.FBILLNO FBILLNOs from JIT_MOMaterReadysBill a |
| | | left join T_PRD_MO b on a.FHMainICMOInterIDr=b.FID |
| | | "); |