2022-11-9 焊接施工计划导入增加流水段

This commit is contained in:
2022-11-09 18:16:18 +08:00
parent 1f39165abd
commit a0a3f525ab
8 changed files with 29 additions and 4 deletions
@@ -142,10 +142,10 @@ namespace FineUIPro.Web.HJGL.WeldingManage
switch (Type)
{
case BLL.PipelineService.PipeArea_SHOP:
responeData = AddDatasetToSQL_SHOP(rows, 13);
responeData = AddDatasetToSQL_SHOP(rows, 14);
break;
case BLL.PipelineService.PipeArea_FIELD:
responeData = AddDatasetToSQL_FIELD(rows, 8);
responeData = AddDatasetToSQL_FIELD(rows, 9);
break;
}
if (responeData.code==1)
@@ -188,6 +188,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
{
Model.HJGL_Pipeline pipeline = new Model.HJGL_Pipeline();
string pioelinecode = pds.Rows[i]["管线号"].ToString();
string flowingSection = pds.Rows[i]["流水段"].ToString();
string PlanStartDate = pds.Rows[i]["计划开始时间"].ToString();
string PlanEndDate = pds.Rows[i]["计划结束时间"].ToString();
@@ -209,7 +210,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
{
pipeline.PlanStartDate = Convert.ToDateTime(PlanStartDate);
pipeline.PlanEndDate = Convert.ToDateTime(PlanEndDate);
pipeline.FlowingSection = flowingSection;
}
catch (Exception)
{