Commit b89c5212 by lcx

Merge branch '单元格修改' into 读取excel抽取

parents 52dcc918 92f7f024
......@@ -49,8 +49,8 @@ public ApiResponse List()
[HttpPost]
public ApiResponse SaveValue(int secondid, [FromBody] List<ag_fixatitem> request)
{
if (secondid != 0 && (request == null || request.Count == 0))
secondAllotService.DelValue(secondid, request);
//if (secondid != 0 && (request == null || request.Count == 0))
// secondAllotService.DelValue(secondid, request);
var allotCount = request.Where(t => t.AllotId > 0).Select(t => t.AllotId).Distinct().Count();
if (allotCount != 1 || request.Any(t => t.AllotId == 0))
......
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