From 71fb5919b1809b9eae6fb5f157762053011c57f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=98=8E=E6=85=A7?= <1191093413@qq.com> Date: Fri, 1 Sep 2023 09:18:11 +0800 Subject: [PATCH] =?UTF-8?q?to=5Fchar=20=E4=BF=AE=E6=94=B9=E4=B8=BAdata=5Ff?= =?UTF-8?q?ormat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/TDxCustomsRecordMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml index a37f029a..9d4f53c3 100644 --- a/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml +++ b/dxhy-core/src/main/resources/mapper/TDxCustomsRecordMapper.xml @@ -1097,14 +1097,14 @@ SELECT t.id, t.notes, - to_char(t.qs_date,'yyyy-MM-dd') AS qsDate, + DATE_FORMAT(t.qs_date,'%Y-%m-%d') AS qsDate, t.qs_status AS qsStatus, t.user_name AS userName, t.qs_type AS qsType, t.xxly, t.glzt, t.customs_code AS customsCode, - to_char(t.fill_in_date,'yyyy-MM-dd') AS fillInDate, + DATE_FORMAT(t.fill_in_date,'%Y-%m-%d') AS fillInDate, t.gf_tax_no AS gfTaxNo, t.gf_name AS gfName, t.tax_amount AS taxAmount,