Compare commits

...

4 Commits

Author SHA1 Message Date
zhangke f4b2ef7608 Merge branch 'refs/heads/rakor' into dev_zhangke 2025-09-24 16:39:19 +08:00
zhangke 51e56cdf0c source type 2025-09-24 16:38:58 +08:00
曹鹏飞 7cc07aac8b 登录名不区分大小写 2025-09-24 09:50:44 +08:00
曹鹏飞 f999fae1e5 一些优化 2025-09-24 09:04:54 +08:00
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
@Override
public User getByCode(String code) {
return lambdaQuery().apply("LOWER({0}) = LOWER('{1}')", "user_code", code).one();
return lambdaQuery().apply("LOWER(user_code) = LOWER({0})", code).one();
}
@Transactional

View File

@ -5,7 +5,7 @@
<select id="getTask" resultType="com.nflg.wms.repository.entity.WmsPoReceipt">
select *
from wms_po_receipt
where is_completed=false and sourceType=0
where is_completed=false and source_type=0
<if test="orederNo !=null and orederNo !='' ">
and ( order_no ilike #{orederNo} or in_num ilike #{orederNo} )
</if>

View File

@ -9,7 +9,7 @@
create_time,
factory_code
from wms_qc_receive
where is_completed !=2 and is_check = true and sourceType=0
where is_completed !=2 and is_check = true and source_type=0
<if test="orderNo != null and orderNo != ''">
and ( in_no ilike concat( '%',#{orderNo},'%') or order_no ilike concat( '%',#{orderNo},'%') )
</if>