记得上下班打卡 | git大法好,push需谨慎

Commit 4b915827 authored by 胡佳晨's avatar 胡佳晨

暂时提交

parent aa4d8b48
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<result column="name" property="name"/> <result column="name" property="name"/>
<result column="mobile" property="mobile"/> <result column="mobile" property="mobile"/>
<result column="status" property="status"/> <result column="status" property="status"/>
</resultMap> </resultMap>childSimpleList
<select id="childSimpleList" parameterType="java.lang.String" resultMap="simpleList"> <select id="childSimpleList" parameterType="java.lang.String" resultMap="simpleList">
SELECT SELECT
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
mobile mobile
FROM kylin_check_user FROM kylin_check_user
<where> <where>
merchant_id=#{merchantId} merchant_id=#{merchantId} AND stauts = 1
<if test="mobile !=null and mobile !='' "> <if test="mobile !=null and mobile !='' ">
AND `mobile` LIKE concat('%', #{mobile}, '%') AND `mobile` LIKE concat('%', #{mobile}, '%')
</if> </if>
......
...@@ -114,7 +114,7 @@ public class KylinCheckUserPartnerServiceImpl extends ServiceImpl<KylinCheckUser ...@@ -114,7 +114,7 @@ public class KylinCheckUserPartnerServiceImpl extends ServiceImpl<KylinCheckUser
try { try {
KylinCheckUser checkUser = new KylinCheckUser(); KylinCheckUser checkUser = new KylinCheckUser();
checkUser.setName(name); checkUser.setName(name);
if(!pwd.isEmpty()) { if(null!=pwd) {
checkUser.setPwd(DigestUtils.md5DigestAsHex(pwd.getBytes())); checkUser.setPwd(DigestUtils.md5DigestAsHex(pwd.getBytes()));
} }
checkUser.setMobile(mobile); checkUser.setMobile(mobile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment