Compare commits
4 Commits
e9de23c491
...
f4b2ef7608
| Author | SHA1 | Date |
|---|---|---|
|
|
f4b2ef7608 | |
|
|
51e56cdf0c | |
|
|
7cc07aac8b | |
|
|
f999fae1e5 |
|
|
@ -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({0}) = LOWER('{1}')", "user_code", code).one();
|
return lambdaQuery().apply("LOWER(user_code) = LOWER({0})", 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 sourceType=0
|
where is_completed=false and source_type=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 sourceType=0
|
where is_completed !=2 and is_check = true and source_type=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