Compare commits
No commits in common. "f4b2ef76086f879ddb68e14bd0092dbd59c6f5e3" and "e9de23c49141b53c04c64defc06bc275b57df1d2" have entirely different histories.
f4b2ef7608
...
e9de23c491
|
|
@ -39,7 +39,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public User getByCode(String code) {
|
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
|
@Transactional
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<select id="getTask" resultType="com.nflg.wms.repository.entity.WmsPoReceipt">
|
<select id="getTask" resultType="com.nflg.wms.repository.entity.WmsPoReceipt">
|
||||||
select *
|
select *
|
||||||
from wms_po_receipt
|
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 !='' ">
|
<if test="orederNo !=null and orederNo !='' ">
|
||||||
and ( order_no ilike #{orederNo} or in_num ilike #{orederNo} )
|
and ( order_no ilike #{orederNo} or in_num ilike #{orederNo} )
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
create_time,
|
create_time,
|
||||||
factory_code
|
factory_code
|
||||||
from wms_qc_receive
|
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 != ''">
|
<if test="orderNo != null and orderNo != ''">
|
||||||
and ( in_no ilike concat( '%',#{orderNo},'%') or order_no ilike concat( '%',#{orderNo},'%') )
|
and ( in_no ilike concat( '%',#{orderNo},'%') or order_no ilike concat( '%',#{orderNo},'%') )
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue