首检添加数据看板
This commit is contained in:
@@ -1,18 +1,7 @@
|
||||
using Infrastructure.Extensions;
|
||||
using JinianNet.JNTemplate;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Text.Json;
|
||||
using ZR.Admin.WebApi.Extensions;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model.mes.md;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using ZR.Model.mes.pro;
|
||||
using ZR.Model.MES.pro.DTO;
|
||||
using ZR.Service.mes.pro;
|
||||
using ZR.Service.mes.pro.IService;
|
||||
using ZR.Service.MES.md;
|
||||
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.MES.pro
|
||||
@@ -53,7 +42,7 @@ namespace ZR.Admin.WebApi.Controllers.MES.pro
|
||||
/// <param name="week"></param>
|
||||
/// <param name="date"></param>
|
||||
/// <returns></returns>
|
||||
|
||||
|
||||
[HttpGet("GetGanttList")]
|
||||
public IActionResult GetGanttList(int year = -1, int week = -1, int date = -1)
|
||||
{
|
||||
@@ -141,7 +130,7 @@ namespace ZR.Admin.WebApi.Controllers.MES.pro
|
||||
int sum = 0;
|
||||
foreach (ProWorkorderSortDTO item in parameter)
|
||||
{
|
||||
if(!string.IsNullOrEmpty(item.id))
|
||||
if (!string.IsNullOrEmpty(item.id))
|
||||
{
|
||||
int data = proWorkorderService.SortWorkorderSchedule(item.id, item.order);
|
||||
sum += data;
|
||||
|
||||
Reference in New Issue
Block a user