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

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

暂时提交

parent aa4d8b48
......@@ -13,7 +13,7 @@
<result column="name" property="name"/>
<result column="mobile" property="mobile"/>
<result column="status" property="status"/>
</resultMap>
</resultMap>childSimpleList
<select id="childSimpleList" parameterType="java.lang.String" resultMap="simpleList">
SELECT
......@@ -22,7 +22,7 @@
mobile
FROM kylin_check_user
<where>
merchant_id=#{merchantId}
merchant_id=#{merchantId} AND stauts = 1
<if test="mobile !=null and mobile !='' ">
AND `mobile` LIKE concat('%', #{mobile}, '%')
</if>
......
......@@ -114,7 +114,7 @@ public class KylinCheckUserPartnerServiceImpl extends ServiceImpl<KylinCheckUser
try {
KylinCheckUser checkUser = new KylinCheckUser();
checkUser.setName(name);
if(!pwd.isEmpty()) {
if(null!=pwd) {
checkUser.setPwd(DigestUtils.md5DigestAsHex(pwd.getBytes()));
}
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