From 7de9d27d9cb6c53bb147823b481de4854eebb5d6 Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 2 Apr 2023 07:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=8B=89=E5=8F=96=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../glxp/sale/admin/idc/service/impl/IdcServiceImpl.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api-admin/src/main/java/com/glxp/sale/admin/idc/service/impl/IdcServiceImpl.java b/api-admin/src/main/java/com/glxp/sale/admin/idc/service/impl/IdcServiceImpl.java index 2dc5928..5e7fe08 100644 --- a/api-admin/src/main/java/com/glxp/sale/admin/idc/service/impl/IdcServiceImpl.java +++ b/api-admin/src/main/java/com/glxp/sale/admin/idc/service/impl/IdcServiceImpl.java @@ -98,7 +98,7 @@ public class IdcServiceImpl implements IdcService { @Override public BaseResponse taskList(HttpServletRequest request,Map params) { Map map = new HashMap(); - map.put("sql", "select id from basic_export_status where status='0'"); + map.put("sql", "select id as taskId from basic_export_status where receiveStatus='0'"); List> list = dbDao.list(map); return ResultVOUtils.success(list); } @@ -288,7 +288,7 @@ public class IdcServiceImpl implements IdcService { public BaseResponse downlaodSuccess(HttpServletRequest request,Map params) { - String sql = "update basic_export_status set status='1' where id='"+params.get("taskId")+"'"; + String sql = "update basic_export_status set receiveStatus='1' where id='"+params.get("taskId")+"'"; dbDao.update(sql); return ResultVOUtils.success(); } @@ -382,7 +382,8 @@ public class IdcServiceImpl implements IdcService { private void saveExportStatus(Map params) { Map map = new HashMap(); - map.put("status", "0"); + map.put("status", "1"); + map.put("receiveStatus", "0"); map.putAll(params); map.put("id", CustomUtil.getId()); map.put("updateTime", new Date());