小程序接口修改
This commit is contained in:
@@ -123,15 +123,15 @@ namespace BLL
|
||||
newConstructSolution.CompileDate = DateTime.Now;
|
||||
newConstructSolution.ConstructSolutionId = SQLHelper.GetNewID();
|
||||
newConstructSolution.ConstructSolutionCode = CodeRecordsService.ReturnCodeByMenuIdProjectId(Const.ProjectConstructSolutionMenuId, newConstructSolution.ProjectId, newConstructSolution.UnitId);
|
||||
ConstructSolutionService.AddConstructSolution(newConstructSolution);
|
||||
ConstructSolutionService.AddConstructSolutionForApi(newConstructSolution);
|
||||
}
|
||||
else
|
||||
{
|
||||
ConstructSolutionService.UpdateConstructSolution(newConstructSolution);
|
||||
ConstructSolutionService.UpdateConstructSolutionForApi(newConstructSolution);
|
||||
}
|
||||
if (newConstructSolution.States == "1")
|
||||
{
|
||||
CommonService.btnSaveData(newConstructSolution.ProjectId, Const.ProjectConstructSolutionMenuId, newConstructSolution.ConstructSolutionId, newConstructSolution.CompileMan, true, newConstructSolution.CompileManName, "../Solution/ConstructSolutionView.aspx?ConstructSolutionId={0}");
|
||||
CommonService.btnSaveDataForApi(newConstructSolution.ProjectId, Const.ProjectConstructSolutionMenuId, newConstructSolution.ConstructSolutionId, newConstructSolution.CompileMan, true, newConstructSolution.CompileManName, "../Solution/ConstructSolutionView.aspx?ConstructSolutionId={0}");
|
||||
}
|
||||
if (!string.IsNullOrEmpty(newItem.AttachUrl))
|
||||
{
|
||||
@@ -140,7 +140,7 @@ namespace BLL
|
||||
}
|
||||
else
|
||||
{
|
||||
CommonService.DeleteAttachFileById(newConstructSolution.ConstructSolutionId);
|
||||
CommonService.DeleteAttachFileByIdForApi(newConstructSolution.ConstructSolutionId);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user