From 1a7df2595234d61d842c697d7102d56bf8e09817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Thu, 2 Mar 2023 16:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E9=AA=8C=E6=94=B6=E6=95=B0=E6=8D=AEbu?= =?UTF-8?q?g=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/glxp/api/res/inv/InvPreinOrderResponse.java | 1 + src/main/resources/mybatis/mapper/inv/InvPreinOrderDao.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/glxp/api/res/inv/InvPreinOrderResponse.java b/src/main/java/com/glxp/api/res/inv/InvPreinOrderResponse.java index 8d600f673..8b8168e15 100644 --- a/src/main/java/com/glxp/api/res/inv/InvPreinOrderResponse.java +++ b/src/main/java/com/glxp/api/res/inv/InvPreinOrderResponse.java @@ -77,5 +77,6 @@ public class InvPreinOrderResponse { private String deptName; private String invName; + private Integer orderFromType; } diff --git a/src/main/resources/mybatis/mapper/inv/InvPreinOrderDao.xml b/src/main/resources/mybatis/mapper/inv/InvPreinOrderDao.xml index b5b7dda7d..4bd97c9da 100644 --- a/src/main/resources/mybatis/mapper/inv/InvPreinOrderDao.xml +++ b/src/main/resources/mybatis/mapper/inv/InvPreinOrderDao.xml @@ -7,6 +7,7 @@ (select name from basic_bussiness_type bus where bus.action = io.action) billTypeName, (select name from auth_dept ad where ad.code = io.deptCode) deptName, (select name from auth_warehouse aw where aw.code = io.invCode) invName, + ( SELECT fromType FROM io_order ior WHERE ior.billNo = io.billNo ) orderFromType, (select employeeName from auth_user au where au.id = io.createUser) createUserName, (select employeeName from auth_user au2 where au2.id = io.updateUser) updateUserName, (select employeeName from auth_user au3 where au3.id = io.reviewUser) reviewUserName,