Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
@@ -460,7 +460,9 @@ namespace BLL
|
|||||||
".jpg", ".jpeg", ".png", ".bmp", ".gif", // 图片文件类型
|
".jpg", ".jpeg", ".png", ".bmp", ".gif", // 图片文件类型
|
||||||
".mp3", ".wav", ".wma", ".ogg", ".ape", ".flac", // 音频文件类型
|
".mp3", ".wav", ".wma", ".ogg", ".ape", ".flac", // 音频文件类型
|
||||||
".mp4", ".avi", ".flv", ".wmv", ".mov", ".rmvb", // 视频文件类型
|
".mp4", ".avi", ".flv", ".wmv", ".mov", ".rmvb", // 视频文件类型
|
||||||
".zip", ".rar", ".7z" // 压缩包文件类型
|
".zip", ".rar", ".7z" // 压缩包文件类型,
|
||||||
|
,".RVM",".rvm"
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -195,8 +195,8 @@ namespace BLL
|
|||||||
public static void UpdataDateByWeldJointId(string WeldJointId)
|
public static void UpdataDateByWeldJointId(string WeldJointId)
|
||||||
{
|
{
|
||||||
|
|
||||||
DateTime ActDateStart_FIELD = new DateTime();
|
DateTime ? ActDateStart_FIELD = new DateTime();
|
||||||
DateTime ActDateEnd_FIELD = new DateTime();
|
DateTime ? ActDateEnd_FIELD = new DateTime();
|
||||||
|
|
||||||
string JointAttribute = "";
|
string JointAttribute = "";
|
||||||
|
|
||||||
@@ -218,15 +218,15 @@ namespace BLL
|
|||||||
|
|
||||||
if (TaskJoints_Field.Count > 0)
|
if (TaskJoints_Field.Count > 0)
|
||||||
{
|
{
|
||||||
ActDateStart_FIELD = TaskJoints_Field.OrderBy(x => x.TaskDate).First().TaskDate.Value;
|
model_pipeline.ActStartDate = TaskJoints_Field.OrderBy(x => x.TaskDate).First().TaskDate;
|
||||||
}
|
}
|
||||||
if (joint_Field_count == TaskJoints_Field.Count && joint_Field_count > 0)
|
if (joint_Field_count == TaskJoints_Field.Count && joint_Field_count > 0)
|
||||||
{
|
{
|
||||||
model_pipeline.IsFinished = true;
|
model_pipeline.IsFinished = true;
|
||||||
ActDateEnd_FIELD = TaskJoints_Field.OrderByDescending(x => x.TaskDate).First().TaskDate.Value;
|
model_pipeline.ActEndDate = TaskJoints_Field.OrderByDescending(x => x.TaskDate).First().TaskDate;
|
||||||
}
|
}
|
||||||
model_pipeline.ActStartDate = ActDateStart_FIELD;
|
//model_pipeline.ActStartDate = ActDateStart_FIELD;
|
||||||
model_pipeline.ActEndDate = ActDateEnd_FIELD;
|
//model_pipeline.ActEndDate = ActDateEnd_FIELD;
|
||||||
UpdatePipeline(model_pipeline);
|
UpdatePipeline(model_pipeline);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user