|
|
@@ -414,10 +414,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND ucu.company_user_id = #{companyUserId}
|
|
|
</if>
|
|
|
<if test="registerStartTime != null and registerStartTime !='' ">
|
|
|
- AND ucu.update_time >= #{registerStartTime}
|
|
|
+ AND ucu.update_time >= #{registerStartTime}
|
|
|
</if>
|
|
|
<if test="registerEndTime != null and registerEndTime !='' ">
|
|
|
- <![CDATA[
|
|
|
+ <![CDATA[
|
|
|
AND ucu.update_time < date_add(#{registerEndTime}, interval 1 day)
|
|
|
]]>
|
|
|
</if>
|
|
|
@@ -1892,7 +1892,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectFsUserVOListByProjectNew" resultType="com.fs.his.vo.FsUserVO">
|
|
|
SELECT
|
|
|
u.user_id, u.nick_name, u.avatar, u.phone, u.integral, u.now_money,
|
|
|
- ucu.project_id,ucu.company_user_id as companyUserId,ucu.create_time as bindTime,ucu.status,
|
|
|
+ ucu.project_id,ucu.company_user_id as companyUserId,ucu.update_time as bindTime,ucu.status,
|
|
|
company.company_name,
|
|
|
cu.nick_name companyUserNickName
|
|
|
FROM
|
|
|
@@ -1915,10 +1915,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test = "maps.phone != null and maps.phone !='' " >
|
|
|
AND u.phone LIKE CONCAT("%",#{maps.phone},"%")
|
|
|
</if >
|
|
|
- <if test = "maps.startCreateTime != null and maps.endCreateTime != null" >
|
|
|
- AND (DATE_FORMAT( ucu.create_time, "%Y-%m-%d" ) >= DATE_FORMAT(#{maps.startCreateTime}, "%Y-%m-%d")
|
|
|
- and DATE_FORMAT( ucu.create_time, "%Y-%m-%d" ) <= DATE_FORMAT(#{maps.endCreateTime}, "%Y-%m-%d")
|
|
|
- )
|
|
|
+ <if test = "maps.startCreateTime != null" >
|
|
|
+ AND ucu.update_time >= #{registerStartTime}
|
|
|
+ </if >
|
|
|
+ <if test = "maps.endCreateTime != null" >
|
|
|
+ <![CDATA[
|
|
|
+ AND ucu.update_time < date_add(#{endCreateTime}, interval 1 day)
|
|
|
+ ]]>
|
|
|
</if >
|
|
|
<if test = "maps.registerCode != null and maps.registerCode !='' " >
|
|
|
AND u.register_code = #{maps.registerCode}
|