Pārlūkot izejas kodu

新增默认值科室编号 类型编号

zhaozhiqiang 4 gadi atpakaļ
vecāks
revīzija
c36ffc93d1

+ 2 - 2
RMYY_CallCenter_Api/Controllers/WorepairController.cs

716
         /// 分页获取数据信息
716
         /// 分页获取数据信息
717
         /// </summary>
717
         /// </summary>
718
         /// <returns></returns>
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
             DataTable date = new DataTable();
721
             DataTable date = new DataTable();
722
             string where = "";
722
             string where = "";
758
             tablename += " left join T_Sys_UserAccount e on a.T_Worepairman=e.F_UserCode";
758
             tablename += " left join T_Sys_UserAccount e on a.T_Worepairman=e.F_UserCode";
759
             tablename += " left join T_Sys_UserAccount f on a.T_Wotousercode=f.F_UserCode";
759
             tablename += " left join T_Sys_UserAccount f on a.T_Wotousercode=f.F_UserCode";
760
             tablename += " left join T_Sys_UserAccount g on a.T_Wodealrepairman=g.F_UserCode"; 
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
             date = Bll.PagerBll.GetListPager(tablename,"T_Wowocodeid","*",where,"order by T_Wowocodeid desc",pagesise,pageindex,true,out recordCount);
762
             date = Bll.PagerBll.GetListPager(tablename,"T_Wowocodeid","*",where,"order by T_Wowocodeid desc",pagesise,pageindex,true,out recordCount);
763
             List<T_WowoRepair_Base> carlist =  wrbBll.DataTableToList(date);
763
             List<T_WowoRepair_Base> carlist =  wrbBll.DataTableToList(date);
764
             if (carlist.Count > 0)
764
             if (carlist.Count > 0)