|
|
@@ -3790,6 +3790,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
3790
|
3790
|
model.F_QuestionType = manage.F_QuestionName;//问题类别3
|
|
3791
|
3791
|
model.F_QuestionTypeid = manage.F_Id;
|
|
3792
|
3792
|
#region 20220304 修改 肥效类增加作物字段
|
|
|
3793
|
+ var cropid = 0;
|
|
3793
|
3794
|
if (manage.F_Label == "3")
|
|
3794
|
3795
|
{
|
|
3795
|
3796
|
Model.T_Wo_QuestionManage Manage1 = quesBLL.GetModel(int.Parse(manage.F_ParentId.ToString()));//获取问题类别2
|
|
|
@@ -3797,13 +3798,12 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
3797
|
3798
|
model.F_QuestionTypeone = Manage2.F_QuestionName;//问题类别1
|
|
3798
|
3799
|
model.F_QuestionTypeoneid = Manage2.F_Id;//问题类别1
|
|
3799
|
3800
|
model.F_QuestionTypetwo = Manage1.F_QuestionName;//问题类别2
|
|
3800
|
|
- model.F_QuestionTypetwoid = Manage1.F_Id;//问题类别2
|
|
3801
|
|
- var cropid = 0;
|
|
3802
|
|
- if (int.TryParse(model1[i].F_Crops.Trim(), out cropid))
|
|
3803
|
|
- {
|
|
3804
|
|
- model.F_QuestionTypefour = new BLL.T_Sys_DictionaryValue().GetModel(cropid)?.F_Name ?? "";//问题类别4
|
|
3805
|
|
- model.F_QuestionTypefourid = cropid;//问题类别4
|
|
3806
|
|
- }
|
|
|
3801
|
+ model.F_QuestionTypetwoid = Manage1.F_Id;//问题类别2
|
|
|
3802
|
+ }
|
|
|
3803
|
+ if (int.TryParse(model1[i].F_Crops.Trim(), out cropid))
|
|
|
3804
|
+ {
|
|
|
3805
|
+ model.F_QuestionTypefour = new BLL.T_Sys_DictionaryValue().GetModel(cropid)?.F_Name ?? "";//作物名称
|
|
|
3806
|
+ model.F_QuestionTypefourid = cropid;//作物
|
|
3807
|
3807
|
}
|
|
3808
|
3808
|
#endregion
|
|
3809
|
3809
|
#region 修改前
|