|
|
@@ -716,7 +716,7 @@ namespace RMYY_CallCenter_Api.Controllers
|
|
716
|
716
|
/// 分页获取数据信息
|
|
717
|
717
|
/// </summary>
|
|
718
|
718
|
/// <returns></returns>
|
|
719
|
|
- public ActionResult GetListRepairlist(string T_Worepairman,string T_Worepairmanphone,int state,string stime,string etime,int T_Wowocodetype,int T_Worepairdeptid, int pageindex=1, int pagesise=10)
|
|
|
719
|
+ public ActionResult GetListRepairlist(string T_Worepairman,string T_Worepairmanphone,int state,string stime,string etime,int T_Wowocodetype=0,int T_Worepairdeptid=0, int pageindex=1, int pagesise=10)
|
|
720
|
720
|
{
|
|
721
|
721
|
DataTable date = new DataTable();
|
|
722
|
722
|
string where = "";
|
|
|
@@ -758,7 +758,7 @@ namespace RMYY_CallCenter_Api.Controllers
|
|
758
|
758
|
tablename += " left join T_Sys_UserAccount e on a.T_Worepairman=e.F_UserCode";
|
|
759
|
759
|
tablename += " left join T_Sys_UserAccount f on a.T_Wotousercode=f.F_UserCode";
|
|
760
|
760
|
tablename += " left join T_Sys_UserAccount g on a.T_Wodealrepairman=g.F_UserCode";
|
|
761
|
|
- tablename += "left join T_Sys_DictionaryValue h on a.T_Wowocodetype=h.F_DictionaryValueId ) T_WowoRepair_Base ";
|
|
|
761
|
+ tablename += " left join T_Sys_DictionaryValue h on a.T_Wowocodetype=h.F_DictionaryValueId ) T_WowoRepair_Base ";
|
|
762
|
762
|
date = Bll.PagerBll.GetListPager(tablename,"T_Wowocodeid","*",where,"order by T_Wowocodeid desc",pagesise,pageindex,true,out recordCount);
|
|
763
|
763
|
List<T_WowoRepair_Base> carlist = wrbBll.DataTableToList(date);
|
|
764
|
764
|
if (carlist.Count > 0)
|