|
|
@@ -475,7 +475,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
475
|
475
|
{
|
|
476
|
476
|
sqltype += " and F_WorkState=9";
|
|
477
|
477
|
}
|
|
478
|
|
- sqltype += " and F_InfoType=F_ValueId and " + where + ") Count from dbo.T_Sys_DictionaryValue where F_ItemId=2 and F_State=0 ";
|
|
|
478
|
+ sqltype += " and F_InfoType=F_ValueId and " + where + ") Count from dbo.T_Sys_DictionaryValue where (F_PrentId=37 or F_ItemId=2) and F_State=0 ";
|
|
479
|
479
|
|
|
480
|
480
|
DataTable dt = DbHelperSQL.Query(sqltype).Tables[0];
|
|
481
|
481
|
|
|
|
@@ -499,7 +499,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
499
|
499
|
[WechatActionFilter]
|
|
500
|
500
|
public ActionResult GetTypeList()
|
|
501
|
501
|
{
|
|
502
|
|
- string sql = "select * from T_Sys_DictionaryValue where F_ItemId=2 and F_State=0 ";
|
|
|
502
|
+ string sql = "select * from T_Sys_DictionaryValue where (F_PrentId=37 or F_ItemId=2) and F_State=0 ";
|
|
503
|
503
|
var dt = DbHelperSQL.Query(sql).Tables[0];
|
|
504
|
504
|
return Success("列表加载成功", dt);
|
|
505
|
505
|
}
|
|
|
@@ -523,7 +523,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
523
|
523
|
[WechatActionFilter]
|
|
524
|
524
|
public ActionResult GetKeyList()
|
|
525
|
525
|
{
|
|
526
|
|
- string sql = "select * from T_Sys_DictionaryValue where F_ItemId=3 and F_State=0 ";
|
|
|
526
|
+ string sql = "select * from T_Sys_DictionaryValue where (F_PrentId=38 or F_ItemId=3) and F_State=0 ";
|
|
527
|
527
|
var dt = DbHelperSQL.Query(sql).Tables[0];
|
|
528
|
528
|
return Success("列表加载成功", dt);
|
|
529
|
529
|
}
|