Compare commits

..

No commits in common. "f4b2ef76086f879ddb68e14bd0092dbd59c6f5e3" and "e9de23c49141b53c04c64defc06bc275b57df1d2" have entirely different histories.

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(user_code) = LOWER({0})", code).one();
return lambdaQuery().apply("LOWER({0}) = LOWER('{1}')", "user_code", 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 source_type=0
where is_completed=false and sourceType=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 source_type=0
where is_completed !=2 and is_check = true and sourceType=0
<if test="orderNo != null and orderNo != ''">
and ( in_no ilike concat( '%',#{orderNo},'%') or order_no ilike concat( '%',#{orderNo},'%') )
</if>