Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-api
Commits
2549a04b
Commit
2549a04b
authored
Dec 25, 2024
by
liwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
a98b5d47
c0ca0ca4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
80 additions
and
67 deletions
+80
-67
pom.xml
pom.xml
+1
-1
MemInfo.java
...ain/java/org/rcisoft/business/memInfo/entity/MemInfo.java
+10
-2
MemInfoServiceImpl.java
...oft/business/memInfo/service/impl/MemInfoServiceImpl.java
+2
-2
MemInfoMapper.xml
...esources/mapper/business/memInfo/mapper/MemInfoMapper.xml
+67
-62
No files found.
pom.xml
View file @
2549a04b
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<dependency>
<dependency>
<groupId>
org.91isoft
</groupId>
<groupId>
org.91isoft
</groupId>
<artifactId>
91isoft_spbt
</artifactId>
<artifactId>
91isoft_spbt
</artifactId>
<version>
3.3.0_core_alpha
5
</version>
<version>
3.3.0_core_alpha
6
</version>
<!-- <version>3.0.0_nlt.25</version>-->
<!-- <version>3.0.0_nlt.25</version>-->
<!-- 排除oracle12的驱动,此处代码不能提交,测试使用的是12,生产为11 -->
<!-- 排除oracle12的驱动,此处代码不能提交,测试使用的是12,生产为11 -->
</dependency>
</dependency>
...
...
src/main/java/org/rcisoft/business/memInfo/entity/MemInfo.java
View file @
2549a04b
...
@@ -319,8 +319,8 @@ public class MemInfo extends CyIdIncreEntity<MemInfo> {
...
@@ -319,8 +319,8 @@ public class MemInfo extends CyIdIncreEntity<MemInfo> {
* @column avatar
* @column avatar
* @default
* @default
*/
*/
@Schema
(
name
=
"avatar"
,
description
=
"头像地址"
,
required
=
false
,
type
=
"string"
)
@Schema
(
name
=
"avatar"
,
description
=
"头像地址"
,
required
=
false
)
private
String
avatar
;
private
Integer
avatar
;
@Schema
(
name
=
"wxOpenid"
,
description
=
"微信openid"
,
required
=
false
,
type
=
"string"
)
@Schema
(
name
=
"wxOpenid"
,
description
=
"微信openid"
,
required
=
false
,
type
=
"string"
)
...
@@ -441,5 +441,13 @@ public class MemInfo extends CyIdIncreEntity<MemInfo> {
...
@@ -441,5 +441,13 @@ public class MemInfo extends CyIdIncreEntity<MemInfo> {
*/
*/
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
Integer
maxAge
;
private
Integer
maxAge
;
/**
* @desc 头像地址
* @column avatar
* @default
*/
@TableField
(
exist
=
false
)
private
String
avatarUrl
;
}
}
src/main/java/org/rcisoft/business/memInfo/service/impl/MemInfoServiceImpl.java
View file @
2549a04b
...
@@ -104,7 +104,7 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
...
@@ -104,7 +104,7 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
userRbac
.
setFlag
(
CyFlagStaCons
.
NORMAL
.
getStatus
());
userRbac
.
setFlag
(
CyFlagStaCons
.
NORMAL
.
getStatus
());
userRbac
.
setDelFlag
(
CyDelStaCons
.
NORMAL
.
getStatus
());
userRbac
.
setDelFlag
(
CyDelStaCons
.
NORMAL
.
getStatus
());
userRbac
.
setWxOpenid
(
memInfo
.
getWxOpenid
());
userRbac
.
setWxOpenid
(
memInfo
.
getWxOpenid
());
userRbac
.
setAvatar
(
memInfo
.
getAvatar
());
//
userRbac.setAvatar(memInfo.getAvatar());
userRbac
.
setNickName
(
memInfo
.
getMemNickName
());
userRbac
.
setNickName
(
memInfo
.
getMemNickName
());
sysUserRbacRepository
.
insert
(
userRbac
);
sysUserRbacRepository
.
insert
(
userRbac
);
//查询会员角色
//查询会员角色
...
@@ -184,7 +184,7 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
...
@@ -184,7 +184,7 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
userRbac
.
setPhone
(
memInfo
.
getMemPhone
());
userRbac
.
setPhone
(
memInfo
.
getMemPhone
());
userRbac
.
setSex
(
memInfo
.
getMemSex
());
userRbac
.
setSex
(
memInfo
.
getMemSex
());
userRbac
.
setIdNumber
(
memInfo
.
getMemIdcard
());
userRbac
.
setIdNumber
(
memInfo
.
getMemIdcard
());
userRbac
.
setAvatar
(
memInfo
.
getAvatar
());
//
userRbac.setAvatar(memInfo.getAvatar());
userRbac
.
setNickName
(
memInfo
.
getMemNickName
());
userRbac
.
setNickName
(
memInfo
.
getMemNickName
());
sysUserRbacRepository
.
updateById
(
userRbac
);
sysUserRbacRepository
.
updateById
(
userRbac
);
int
line
=
baseMapper
.
updateById
(
memInfo
);
int
line
=
baseMapper
.
updateById
(
memInfo
);
...
...
src/main/resources/mapper/business/memInfo/mapper/MemInfoMapper.xml
View file @
2549a04b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<result
column=
"mem_level_end_date"
jdbcType=
"TIMESTAMP"
property=
"memLevelEndDate"
/>
<result
column=
"mem_level_end_date"
jdbcType=
"TIMESTAMP"
property=
"memLevelEndDate"
/>
<result
column=
"mem_nick_name"
jdbcType=
"VARCHAR"
property=
"memNickName"
/>
<result
column=
"mem_nick_name"
jdbcType=
"VARCHAR"
property=
"memNickName"
/>
<result
column=
"mem_code_level"
jdbcType=
"VARCHAR"
property=
"memCodeLevel"
/>
<result
column=
"mem_code_level"
jdbcType=
"VARCHAR"
property=
"memCodeLevel"
/>
<result
column=
"avatar"
jdbcType=
"
VARCHA
R"
property=
"avatar"
/>
<result
column=
"avatar"
jdbcType=
"
INTEGE
R"
property=
"avatar"
/>
<result
column=
"wx_openid"
jdbcType=
"VARCHAR"
property=
"wxOpenid"
/>
<result
column=
"wx_openid"
jdbcType=
"VARCHAR"
property=
"wxOpenid"
/>
<result
column=
"flag"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"flag"
jdbcType=
"CHAR"
property=
"flag"
/>
<result
column=
"del_flag"
jdbcType=
"CHAR"
property=
"delFlag"
/>
<result
column=
"del_flag"
jdbcType=
"CHAR"
property=
"delFlag"
/>
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
<result
column=
"update_by"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
<result
column=
"update_by"
jdbcType=
"VARCHAR"
property=
"updateBy"
/>
<result
column=
"update_date"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"update_date"
jdbcType=
"TIMESTAMP"
property=
"updateDate"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"remarks"
jdbcType=
"VARCHAR"
property=
"remarks"
/>
<result
column=
"avatarUrl"
jdbcType=
"VARCHAR"
property=
"avatarUrl"
/>
</resultMap>
</resultMap>
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
<!--<cache type="${corePackag!}.util.RedisCache"/>-->
...
@@ -170,156 +171,158 @@
...
@@ -170,156 +171,158 @@
</select>
</select>
<select
id=
"queryMemInfosPaged"
resultMap=
"BaseResultMap"
>
<select
id=
"queryMemInfosPaged"
resultMap=
"BaseResultMap"
>
select business_id,user_id,mem_code,mem_sex,mem_birthday,mem_constellation,mem_height,mem_weight,mem_max_education,
select m.business_id,m.user_id,m.mem_code,m.mem_sex,m.mem_birthday,m.mem_constellation,m.mem_height,m.mem_weight,m.mem_max_education,
mem_college,mem_career,mem_year_income,mem_work_place,mem_residence_province,mem_residence_city,mem_native_province,
m.mem_college,m.mem_career,m.mem_year_income,m.mem_work_place,m.mem_residence_province,m.mem_residence_city,m.mem_native_province,
mem_native_city,mem_introduce,mem_hobby,mem_future_plan,mem_half_desire,mem_marriage,mem_marriage_remarks,
m.mem_native_city,m.mem_introduce,m.mem_hobby,m.mem_future_plan,m.mem_half_desire,m.mem_marriage,m.mem_marriage_remarks,
mem_mbti,mem_wx_code,mem_real_authen,mem_real_authen_date,mem_level,mem_level_begin_date,mem_level_end_date,
m.mem_mbti,m.mem_wx_code,m.mem_real_authen,m.mem_real_authen_date,m.mem_level,m.mem_level_begin_date,m.mem_level_end_date,
mem_nick_name,mem_code_level,flag,del_flag,create_by,create_date,update_by,update_date,remarks,mem_nation,wx_openid,avatar
m.mem_nick_name,m.mem_code_level,m.flag,m.del_flag,m.create_by,m.create_date,m.update_by,m.update_date,m.remarks,m.mem_nation,m.wx_openid,m.avatar,
from mem_info
oi.url as avatarUrl
from mem_info m
left join oss_info oi on oi.business_id = m.avatar
where 1=1
where 1=1
and del_flag = '0'
and
m.
del_flag = '0'
<if
test=
"entity.flag !=null and entity.flag != '' "
>
<if
test=
"entity.flag !=null and entity.flag != '' "
>
and flag = #{entity.flag}
and
m.
flag = #{entity.flag}
</if>
</if>
<if
test=
"entity.userId !=null and entity.userId != '' "
>
<if
test=
"entity.userId !=null and entity.userId != '' "
>
and user_id = #{entity.userId}
and
m.
user_id = #{entity.userId}
</if>
</if>
<if
test=
"entity.memCode !=null and entity.memCode != '' "
>
<if
test=
"entity.memCode !=null and entity.memCode != '' "
>
and mem_code like concat('%',#{entity.memCode},'%')
and m
.m
em_code like concat('%',#{entity.memCode},'%')
</if>
</if>
<if
test=
"entity.memSex !=null and entity.memSex != '' "
>
<if
test=
"entity.memSex !=null and entity.memSex != '' "
>
and mem_sex = #{entity.memSex}
and m
.m
em_sex = #{entity.memSex}
</if>
</if>
<if
test=
"entity.memBirthday !=null and entity.memBirthday != '' "
>
<if
test=
"entity.memBirthday !=null and entity.memBirthday != '' "
>
and mem_birthday like concat('%',#{entity.memBirthday},'%')
and m
.m
em_birthday like concat('%',#{entity.memBirthday},'%')
</if>
</if>
<if
test=
"entity.beginBirthday !=null and entity.beginBirthday != '' "
>
<if
test=
"entity.beginBirthday !=null and entity.beginBirthday != '' "
>
and mem_birthday
>
= #{entity.beginBirthday}
and m
.m
em_birthday
>
= #{entity.beginBirthday}
</if>
</if>
<if
test=
"entity.endBirthday !=null and entity.endBirthday != '' "
>
<if
test=
"entity.endBirthday !=null and entity.endBirthday != '' "
>
and mem_birthday
<
= #{entity.endBirthday}
and m
.m
em_birthday
<
= #{entity.endBirthday}
</if>
</if>
<if
test=
"entity.memConstellation !=null and entity.memConstellation != '' "
>
<if
test=
"entity.memConstellation !=null and entity.memConstellation != '' "
>
and mem_constellation = #{entity.memConstellation}
and m
.m
em_constellation = #{entity.memConstellation}
</if>
</if>
<if
test=
"entity.memHeight !=null "
>
<if
test=
"entity.memHeight !=null "
>
and mem_height = #{entity.memHeight}
and m
.m
em_height = #{entity.memHeight}
</if>
</if>
<if
test=
"entity.minHeight !=null "
>
<if
test=
"entity.minHeight !=null "
>
and mem_height
>
= #{entity.minHeight}
and m
.m
em_height
>
= #{entity.minHeight}
</if>
</if>
<if
test=
"entity.maxHeight !=null "
>
<if
test=
"entity.maxHeight !=null "
>
and mem_height
<
= #{entity.maxHeight}
and m
.m
em_height
<
= #{entity.maxHeight}
</if>
</if>
<if
test=
"entity.memWeight !=null "
>
<if
test=
"entity.memWeight !=null "
>
and mem_weight = #{entity.memWeight}
and m
.m
em_weight = #{entity.memWeight}
</if>
</if>
<if
test=
"entity.minWeight !=null "
>
<if
test=
"entity.minWeight !=null "
>
and mem_weight
>
= #{entity.minWeight}
and m
.m
em_weight
>
= #{entity.minWeight}
</if>
</if>
<if
test=
"entity.maxWeight !=null "
>
<if
test=
"entity.maxWeight !=null "
>
and mem_weight
<
= #{entity.maxWeight}
and m
.m
em_weight
<
= #{entity.maxWeight}
</if>
</if>
<if
test=
"entity.educations !=null and entity.educations != '' "
>
<if
test=
"entity.educations !=null and entity.educations != '' "
>
and mem_max_education in
and m
.m
em_max_education in
<foreach
collection=
"entity.educations.split(',')"
item=
"item"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"entity.educations.split(',')"
item=
"item"
open=
"("
close=
")"
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
</if>
</if>
<if
test=
"entity.memCollege !=null and entity.memCollege != '' "
>
<if
test=
"entity.memCollege !=null and entity.memCollege != '' "
>
and mem_college like concat('%',#{entity.memCollege},'%')
and m
.m
em_college like concat('%',#{entity.memCollege},'%')
</if>
</if>
<if
test=
"entity.memCareer !=null and entity.memCareer != '' "
>
<if
test=
"entity.memCareer !=null and entity.memCareer != '' "
>
and mem_career like concat('%',#{entity.memCareer},'%')
and m
.m
em_career like concat('%',#{entity.memCareer},'%')
</if>
</if>
<if
test=
"entity.memYearIncome !=null "
>
<if
test=
"entity.memYearIncome !=null "
>
and mem_year_income = #{entity.memYearIncome}
and m
.m
em_year_income = #{entity.memYearIncome}
</if>
</if>
<if
test=
"entity.minYearIncome !=null "
>
<if
test=
"entity.minYearIncome !=null "
>
and mem_year_income
>
= #{entity.minYearIncome}
and m
.m
em_year_income
>
= #{entity.minYearIncome}
</if>
</if>
<if
test=
"entity.maxYearIncome !=null "
>
<if
test=
"entity.maxYearIncome !=null "
>
and mem_year_income
<
= #{entity.maxYearIncome}
and m
.m
em_year_income
<
= #{entity.maxYearIncome}
</if>
</if>
<if
test=
"entity.memWorkPlace !=null and entity.memWorkPlace != '' "
>
<if
test=
"entity.memWorkPlace !=null and entity.memWorkPlace != '' "
>
and mem_work_place like concat('%',#{entity.memWorkPlace},'%')
and m
.m
em_work_place like concat('%',#{entity.memWorkPlace},'%')
</if>
</if>
<if
test=
"entity.memResidenceProvince !=null and entity.memResidenceProvince != '' "
>
<if
test=
"entity.memResidenceProvince !=null and entity.memResidenceProvince != '' "
>
and mem_residence_province like concat('%',#{entity.memResidenceProvince},'%')
and m
.m
em_residence_province like concat('%',#{entity.memResidenceProvince},'%')
</if>
</if>
<if
test=
"entity.memResidenceCity !=null and entity.memResidenceCity != '' "
>
<if
test=
"entity.memResidenceCity !=null and entity.memResidenceCity != '' "
>
and mem_residence_city like concat('%',#{entity.memResidenceCity},'%')
and m
.m
em_residence_city like concat('%',#{entity.memResidenceCity},'%')
</if>
</if>
<if
test=
"entity.memNativeProvince !=null and entity.memNativeProvince != '' "
>
<if
test=
"entity.memNativeProvince !=null and entity.memNativeProvince != '' "
>
and mem_native_province like concat('%',#{entity.memNativeProvince},'%')
and m
.m
em_native_province like concat('%',#{entity.memNativeProvince},'%')
</if>
</if>
<if
test=
"entity.memNativeCity !=null and entity.memNativeCity != '' "
>
<if
test=
"entity.memNativeCity !=null and entity.memNativeCity != '' "
>
and mem_native_city like concat('%',#{entity.memNativeCity},'%')
and m
.m
em_native_city like concat('%',#{entity.memNativeCity},'%')
</if>
</if>
<if
test=
"entity.memIntroduce !=null and entity.memIntroduce != '' "
>
<if
test=
"entity.memIntroduce !=null and entity.memIntroduce != '' "
>
and mem_introduce like concat('%',#{entity.memIntroduce},'%')
and m
.m
em_introduce like concat('%',#{entity.memIntroduce},'%')
</if>
</if>
<if
test=
"entity.memHobby !=null and entity.memHobby != '' "
>
<if
test=
"entity.memHobby !=null and entity.memHobby != '' "
>
and mem_hobby like concat('%',#{entity.memHobby},'%')
and m
.m
em_hobby like concat('%',#{entity.memHobby},'%')
</if>
</if>
<if
test=
"entity.memFuturePlan !=null and entity.memFuturePlan != '' "
>
<if
test=
"entity.memFuturePlan !=null and entity.memFuturePlan != '' "
>
and mem_future_plan like concat('%',#{entity.memFuturePlan},'%')
and m
.m
em_future_plan like concat('%',#{entity.memFuturePlan},'%')
</if>
</if>
<if
test=
"entity.memHalfDesire !=null and entity.memHalfDesire != '' "
>
<if
test=
"entity.memHalfDesire !=null and entity.memHalfDesire != '' "
>
and mem_half_desire like concat('%',#{entity.memHalfDesire},'%')
and m
.m
em_half_desire like concat('%',#{entity.memHalfDesire},'%')
</if>
</if>
<if
test=
"entity.memMarriage !=null and entity.memMarriage != '' "
>
<if
test=
"entity.memMarriage !=null and entity.memMarriage != '' "
>
and mem_marriage = #{entity.memMarriage}
and m
.m
em_marriage = #{entity.memMarriage}
</if>
</if>
<if
test=
"entity.memMarriageRemarks !=null and entity.memMarriageRemarks != '' "
>
<if
test=
"entity.memMarriageRemarks !=null and entity.memMarriageRemarks != '' "
>
and mem_marriage_remarks like concat('%',#{entity.memMarriageRemarks},'%')
and m
.m
em_marriage_remarks like concat('%',#{entity.memMarriageRemarks},'%')
</if>
</if>
<if
test=
"entity.memMbti !=null and entity.memMbti != '' "
>
<if
test=
"entity.memMbti !=null and entity.memMbti != '' "
>
and mem_mbti like concat('%',#{entity.memMbti},'%')
and m
.m
em_mbti like concat('%',#{entity.memMbti},'%')
</if>
</if>
<if
test=
"entity.memWxCode !=null and entity.memWxCode != '' "
>
<if
test=
"entity.memWxCode !=null and entity.memWxCode != '' "
>
and mem_wx_code like concat('%',#{entity.memWxCode},'%')
and m
.m
em_wx_code like concat('%',#{entity.memWxCode},'%')
</if>
</if>
<if
test=
"entity.memRealName !=null and entity.memRealName != '' "
>
<if
test=
"entity.memRealName !=null and entity.memRealName != '' "
>
and mem_real_name like concat('%',#{entity.memRealName},'%')
and m
.m
em_real_name like concat('%',#{entity.memRealName},'%')
</if>
</if>
<if
test=
"entity.memPhone !=null and entity.memPhone != '' "
>
<if
test=
"entity.memPhone !=null and entity.memPhone != '' "
>
and mem_phone like concat('%',#{entity.memPhone},'%')
and m
.m
em_phone like concat('%',#{entity.memPhone},'%')
</if>
</if>
<if
test=
"entity.memIdcard !=null and entity.memIdcard != '' "
>
<if
test=
"entity.memIdcard !=null and entity.memIdcard != '' "
>
and mem_idcard like concat('%',#{entity.memIdcard},'%')
and m
.m
em_idcard like concat('%',#{entity.memIdcard},'%')
</if>
</if>
<if
test=
"entity.memRealAuthen !=null and entity.memRealAuthen != '' "
>
<if
test=
"entity.memRealAuthen !=null and entity.memRealAuthen != '' "
>
and mem_real_authen = #{entity.memRealAuthen}
and m
.m
em_real_authen = #{entity.memRealAuthen}
</if>
</if>
<if
test=
"entity.authenBeginTime !=null and entity.authenBeginTime != '' "
>
<if
test=
"entity.authenBeginTime !=null and entity.authenBeginTime != '' "
>
and mem_real_authen_date
>
= #{entity.authenBeginTime}
and m
.m
em_real_authen_date
>
= #{entity.authenBeginTime}
</if>
</if>
<if
test=
"entity.authenEndTime !=null and entity.authenEndTime != '' "
>
<if
test=
"entity.authenEndTime !=null and entity.authenEndTime != '' "
>
and mem_real_authen_date
<
= #{entity.authenEndTime}
and m
.m
em_real_authen_date
<
= #{entity.authenEndTime}
</if>
</if>
<if
test=
"entity.memLevel !=null and entity.memLevel != '' "
>
<if
test=
"entity.memLevel !=null and entity.memLevel != '' "
>
and mem_level = #{entity.memLevel}
and m
.m
em_level = #{entity.memLevel}
</if>
</if>
<if
test=
"entity.memLevelBeginTime !=null and entity.memLevelBeginTime != '' "
>
<if
test=
"entity.memLevelBeginTime !=null and entity.memLevelBeginTime != '' "
>
and mem_level_begin_date
>
= #{entity.memLevelBeginTime}
and m
.m
em_level_begin_date
>
= #{entity.memLevelBeginTime}
</if>
</if>
<if
test=
"entity.memLevelEndTime !=null and entity.memLevelEndTime != '' "
>
<if
test=
"entity.memLevelEndTime !=null and entity.memLevelEndTime != '' "
>
and mem_level_end_date
<
= #{entity.memLevelEndTime}
and m
.m
em_level_end_date
<
= #{entity.memLevelEndTime}
</if>
</if>
<if
test=
"entity.memNickName !=null and entity.memNickName != '' "
>
<if
test=
"entity.memNickName !=null and entity.memNickName != '' "
>
and mem_nick_name like concat('%',#{entity.memNickName},'%')
and m
.m
em_nick_name like concat('%',#{entity.memNickName},'%')
</if>
</if>
<if
test=
"entity.memCodeLevel !=null and entity.memCodeLevel != '' "
>
<if
test=
"entity.memCodeLevel !=null and entity.memCodeLevel != '' "
>
and mem_code_level = #{entity.memCodeLevel}
and m
.m
em_code_level = #{entity.memCodeLevel}
</if>
</if>
<if
test=
"entity.beginTime !=null and entity.beginTime != '' "
>
<if
test=
"entity.beginTime !=null and entity.beginTime != '' "
>
and create_date
>
= #{entity.beginTime}
and
m.
create_date
>
= #{entity.beginTime}
</if>
</if>
<if
test=
"entity.endTime !=null and entity.endTime != '' "
>
<if
test=
"entity.endTime !=null and entity.endTime != '' "
>
and create_date
<
= #{entity.endTime}
and
m.
create_date
<
= #{entity.endTime}
</if>
</if>
ORDER BY business_id DESC
ORDER BY
m.
business_id DESC
</select>
</select>
...
@@ -340,13 +343,15 @@
...
@@ -340,13 +343,15 @@
</select>
</select>
<select
id=
"selectDetailById"
resultType=
"org.rcisoft.business.memInfo.entity.MemInfo"
parameterType=
"int"
>
<select
id=
"selectDetailById"
resultType=
"org.rcisoft.business.memInfo.entity.MemInfo"
parameterType=
"int"
>
select business_id,user_id,mem_code,mem_sex,mem_birthday,mem_constellation,mem_height,mem_weight,mem_max_education,
select m.business_id,m.user_id,m.mem_code,m.mem_sex,m.mem_birthday,m.mem_constellation,m.mem_height,m.mem_weight,m.mem_max_education,
mem_college,mem_career,mem_year_income,mem_work_place,mem_residence_province,mem_residence_city,mem_native_province,
m.mem_college,m.mem_career,m.mem_year_income,m.mem_work_place,m.mem_residence_province,m.mem_residence_city,m.mem_native_province,
mem_native_city,mem_introduce,mem_hobby,mem_future_plan,mem_half_desire,mem_marriage,mem_marriage_remarks,
m.mem_native_city,m.mem_introduce,m.mem_hobby,m.mem_future_plan,m.mem_half_desire,m.mem_marriage,m.mem_marriage_remarks,
mem_mbti,mem_wx_code,mem_real_authen,mem_real_authen_date,mem_level,mem_level_begin_date,mem_level_end_date,
m.mem_mbti,m.mem_wx_code,m.mem_real_authen,m.mem_real_authen_date,m.mem_level,m.mem_level_begin_date,m.mem_level_end_date,
mem_nick_name,mem_code_level,flag,del_flag,create_by,create_date,update_by,update_date,remarks,mem_nation,wx_openid,avatar
m.mem_nick_name,m.mem_code_level,m.flag,m.del_flag,m.create_by,m.create_date,m.update_by,m.update_date,m.remarks,m.mem_nation,m.wx_openid,m.avatar,
from mem_info
oi.url as avatarUrl
where business_id = #{businessId}
from mem_info m
left join oss_info oi on oi.business_id = m.avatar
where m.business_id = #{businessId}
</select>
</select>
<select
id=
"selectMaxCode"
resultType=
"java.lang.String"
>
<select
id=
"selectMaxCode"
resultType=
"java.lang.String"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment