fix: 바코드 입력 에러 메세지 fix

dev
Jonguk. Lim 4 months ago
parent d42f49902d
commit 6b103e2dc9

@ -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

@ -764,23 +764,6 @@
</if>
</select>
<select id="selectDsuseMgts2" parameterType="cokr.xit.adds.biz.nims.model.BizNimsRequest$DsuseMgtInqReq" resultType="cokr.xit.adds.biz.nims.model.BizNimsResponse$DsuseRptInfoRes">
/** nims-mysql-mapper|selectDsuseMgts-폐기관리목록 조회|julim */
<include refid="sqlDsuseRptInfoByDsuseMgt"/>
WHERE tdm.dscdmng_id IN
<foreach collection="dscdmngIds" item="item" separator="," open="(" close=")">
#{item}
</foreach>
</select>
<sql id="sqlDsuseRptInfoByDsuseMgt">
SELECT tdm.dscdmng_id /** 폐기관리ID */
, tdm.user_id /** 사용자ID */

@ -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,

Loading…
Cancel
Save