Parcourir la source

气瓶问题修改

liujh il y a 3 ans
Parent
commit
9656660f2a

+ 1 - 1
zd-modules/zd-bottle-parent/zd-bottle/src/main/java/com/zd/bottle/service/impl/BottleStorageOutServiceImpl.java

@@ -59,7 +59,7 @@ public class BottleStorageOutServiceImpl extends ServiceImpl<BottleStorageOutMap
         //查询是否存在未归还记录
         List<UseRecord> useRecordVoList = useRecordService.getListNotReturn(bottleStorageOut.getStorageId());
         if(useRecordVoList.size()>0){
-            throw new ServiceException("请先归还后出库。");
+            throw new ServiceException("请先归还后出库。");
         }
 
         //出库状态

+ 1 - 0
zd-modules/zd-bottle-parent/zd-bottle/src/main/resources/mapper/BottleStorageMapper.xml

@@ -89,6 +89,7 @@
                 bs.electronic_tag like concat('%', #{searchValue}, '%')
                 or bs.air_number like concat('%', #{searchValue}, '%')
                 or bs.user_name like concat('%', #{searchValue}, '%')
+                or bs.air_name like concat('%', #{searchValue}, '%')
                 )
             </if>
             <if test="storageStatus != null ">and storage_status = #{storageStatus}</if>