diff --git a/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsResponse.java b/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsResponse.java
index d3129c3..638aedf 100644
--- a/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsResponse.java
+++ b/src/main/java/cokr/xit/adds/biz/nims/model/BizNimsResponse.java
@@ -263,7 +263,7 @@ public class BizNimsResponse {
NimsApiDto.MnfSeqInfo mnfSeqInfo = new NimsApiDto.MnfSeqInfo();
if(barcodeStr.length() < 30){
- throw new IllegalArgumentException("Barcode는 최소 20자리 이상이어야 합니다.");
+ throw new IllegalArgumentException("정상적인 바코드 정보가 아닙니다.\n[Barcode(GS1-128) 정보가 30자 이상 입니다]");
}
// AI상품식별코드(01)로 시작
// 01 + 088065780457311717050110A1234210000000006
diff --git a/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml b/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml
index baa7dad..11dc155 100644
--- a/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml
+++ b/src/main/resources/sql/mapper/biz/nims-mysql-mapper.xml
@@ -764,23 +764,6 @@
-
-
-
-
-
-
-
-
-
-
SELECT tdm.dscdmng_id /** 폐기관리ID */
, tdm.user_id /** 사용자ID */
diff --git a/src/main/resources/sql/work/nims_work.sql b/src/main/resources/sql/work/nims_work.sql
index c3abd3a..49a92be 100644
--- a/src/main/resources/sql/work/nims_work.sql
+++ b/src/main/resources/sql/work/nims_work.sql
@@ -36,6 +36,24 @@ select MIN(dscdmng_id) AS dscdmngId,
dsuse_de
;
+
+select tdm.dscdmng_id
+ , tdm.dsuse_mth_cd
+ , tdm.dsuse_de
+ , tf.FILE_ID
+ -- , tf.FILE_NM
+ -- , IF(tf.FILE_ID IS NULL, 'Y', 'N') AS ins_yn
+ -- , IFNULL(tf.FILE_ID, 'N') AS ins_yn
+ from tb_dsuse_mgt tdm
+ LEFT JOIN tb_file tf
+ ON tdm.dscdmng_id = tf.inf_key
+ AND tf.INF_TYPE = '110'
+ WHERE tdm.use_yn = 'Y'
+ AND tdm.dept_cd = '4050149'
+ AND tdm.dsuse_mth_cd = '3'
+ AND tdm.dsuse_de = '20240709'
+;
+
select MIN(dscdmng_id) AS dscdmngId,
dsuse_mth_cd,
dsuse_de,