Commit ac84e1b6 by xin.yang

some update

parent b94eaca4
......@@ -90,9 +90,9 @@ namespace Siger.ApiACC.Controllers
guid = Guid.NewGuid().ToString(),
locationid = req.locationid.ToInt(),
fixturetools = fixturetool.guid,
materialid = req.materialid.ToInt(),
processid = req.processid.ToInt(),
materialstate = state,
//materialid = req.materialid.ToInt(),
//processid = req.processid.ToInt(),
//materialstate = state,
attachment = req.fileurl,
filename = req.filename,
remark = req.remark,
......@@ -156,9 +156,9 @@ namespace Siger.ApiACC.Controllers
}
entity.locationid = req.locationid.ToInt();
entity.fixturetools = fixturetool.guid;
entity.materialid = req.materialid.ToInt();
entity.processid = req.processid.ToInt();
entity.materialstate = state;
//entity.materialid = req.materialid.ToInt();
//entity.processid = req.processid.ToInt();
//entity.materialstate = state;
entity.attachment = req.fileurl;
entity.filename = req.filename;
entity.remark = req.remark;
......
......@@ -40,7 +40,7 @@ namespace Siger.Middlelayer.AccRepository.Repositories
productname = p.name,
remark = q.remark,
updator = u.name ?? "",
updatetime = q.updatetime.HasValue && q.updatetime > DateTime.MinValue ? q.updatetime.Value.ToString(ParameterConstant.DateTimeFormat) : ""
updatetime = q.updatetime.HasValue && q.updatetime > DateTime.MinValue ? q.updatetime.Value.ToString(ParameterConstant.DateTimeFormat) : "",
fileurl = q.attachment,
filename = q.filename
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment