Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
b70e6d7c
Commit
b70e6d7c
authored
Jul 20, 2021
by
刘基明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加返回接口参数
parent
1a2f5fdb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
35 additions
and
1464 deletions
+35
-1464
ThemeQo.java
...c/main/java/com/tanpu/community/api/beans/qo/ThemeQo.java
+10
-2
ThemeController.java
.../java/com/tanpu/community/controller/ThemeController.java
+1
-2
CurriculumPriceEntity.java
...anpu/community/dao/entity/user/CurriculumPriceEntity.java
+0
-244
CurriculumResEntity.java
.../tanpu/community/dao/entity/user/CurriculumResEntity.java
+0
-305
FinProResEntity.java
.../com/tanpu/community/dao/entity/user/FinProResEntity.java
+0
-463
OrderFlowEntity.java
.../com/tanpu/community/dao/entity/user/OrderFlowEntity.java
+0
-377
UserInfoEntity.java
...a/com/tanpu/community/dao/entity/user/UserInfoEntity.java
+17
-4
CurriculumPriceMapper.java
...anpu/community/dao/mapper/user/CurriculumPriceMapper.java
+0
-16
CurriculumResMapper.java
.../tanpu/community/dao/mapper/user/CurriculumResMapper.java
+0
-16
FinProResMapper.java
.../com/tanpu/community/dao/mapper/user/FinProResMapper.java
+0
-16
OrderFlowMapper.java
.../com/tanpu/community/dao/mapper/user/OrderFlowMapper.java
+0
-16
ProductService.java
...main/java/com/tanpu/community/service/ProductService.java
+6
-3
UserInfoEntityMapper.xml
...e/src/main/resources/mapper/user/UserInfoEntityMapper.xml
+1
-0
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/qo/ThemeQo.java
View file @
b70e6d7c
...
...
@@ -57,8 +57,16 @@ public class ThemeQo implements Serializable {
@ApiModelProperty
(
value
=
"当前用户是否关注该作者"
)
public
boolean
follow
;
@ApiModelProperty
(
value
=
"作者认证"
)
private
Integer
authLabel
;
@ApiModelProperty
(
"认证标签用-用户等级体系 0 游客 1注册用户 10投资人 20 探普理顾 30 探普专家理顾 40 交易理财师 50 首席投顾"
)
private
Integer
levelGrade
;
@ApiModelProperty
(
"认证标签用-当levelGrade=10有值 1投资萌新 2投资达人"
)
private
String
userInvestorType
;
@ApiModelProperty
(
"认证标签用-用户类型 1普通账号 2机构账号 3机构人员"
)
private
Integer
userType
;
@ApiModelProperty
(
"认证标签用-所属机构id"
)
private
String
belongUserOrgId
;
@ApiModelProperty
(
"认证标签用-所属机构名"
)
private
String
belongUserOrgName
;
@ApiModelProperty
(
value
=
"认证机构"
)
private
String
authOrg
;
...
...
community-service/src/main/java/com/tanpu/community/controller/ThemeController.java
View file @
b70e6d7c
...
...
@@ -34,8 +34,7 @@ public class ThemeController {
@PostMapping
(
value
=
"/publish"
)
@ResponseBody
public
CommonResp
<
CreateThemeResp
>
publishTheme
(
@Validated
@RequestBody
CreateThemeReq
req
)
{
// String userId = userHolder.getUserId();
String
userId
=
"4444"
;
String
userId
=
userHolder
.
getUserId
();
return
CommonResp
.
success
(
themeManager
.
publishTheme
(
req
,
userId
));
}
...
...
community-service/src/main/java/com/tanpu/community/dao/entity/user/CurriculumPriceEntity.java
deleted
100644 → 0
View file @
1a2f5fdb
package
com
.
tanpu
.
community
.
dao
.
entity
.
user
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* <p>
* 定价表
* </p>
*
* @author xudong
* @since 2021-06-24
*/
@TableName
(
"curriculum_price"
)
@ApiModel
(
value
=
"CurriculumPriceEntity对象"
,
description
=
"定价表"
)
public
class
CurriculumPriceEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
String
id
;
@ApiModelProperty
(
value
=
"关联id"
)
private
String
relId
;
@ApiModelProperty
(
value
=
"付费模式 1:免费 2:积分 3:现金"
)
private
Integer
chargeMode
;
@ApiModelProperty
(
value
=
"价格"
)
private
Long
price
;
@ApiModelProperty
(
value
=
"划线价"
)
private
Long
crossedPrice
;
@ApiModelProperty
(
value
=
"是否促销 0:否 1 :是 "
)
private
Integer
promo
;
@ApiModelProperty
(
value
=
"促销价格"
)
private
Long
promoPrice
;
@ApiModelProperty
(
value
=
"促销开始日期"
)
private
LocalDateTime
promoStartTime
;
@ApiModelProperty
(
value
=
"促销结束日期"
)
private
LocalDateTime
promoEndTime
;
@ApiModelProperty
(
value
=
"使用积分 0:不使用 1:使用 (保留字段)"
)
private
Integer
useScore
;
@ApiModelProperty
(
value
=
"积分"
)
private
Integer
score
;
@ApiModelProperty
(
value
=
"是否有角色价 0:没有 1:有"
)
private
Integer
isRolePrice
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
@ApiModelProperty
(
value
=
"更新时间"
)
private
LocalDateTime
updateTime
;
@ApiModelProperty
(
value
=
"删除"
)
private
Integer
deleteTag
;
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
@ApiModelProperty
(
value
=
"机构id"
)
private
String
orgId
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getRelId
()
{
return
relId
;
}
public
void
setRelId
(
String
relId
)
{
this
.
relId
=
relId
;
}
public
Integer
getChargeMode
()
{
return
chargeMode
;
}
public
void
setChargeMode
(
Integer
chargeMode
)
{
this
.
chargeMode
=
chargeMode
;
}
public
Long
getPrice
()
{
return
price
;
}
public
void
setPrice
(
Long
price
)
{
this
.
price
=
price
;
}
public
Long
getCrossedPrice
()
{
return
crossedPrice
;
}
public
void
setCrossedPrice
(
Long
crossedPrice
)
{
this
.
crossedPrice
=
crossedPrice
;
}
public
Integer
getPromo
()
{
return
promo
;
}
public
void
setPromo
(
Integer
promo
)
{
this
.
promo
=
promo
;
}
public
Long
getPromoPrice
()
{
return
promoPrice
;
}
public
void
setPromoPrice
(
Long
promoPrice
)
{
this
.
promoPrice
=
promoPrice
;
}
public
LocalDateTime
getPromoStartTime
()
{
return
promoStartTime
;
}
public
void
setPromoStartTime
(
LocalDateTime
promoStartTime
)
{
this
.
promoStartTime
=
promoStartTime
;
}
public
LocalDateTime
getPromoEndTime
()
{
return
promoEndTime
;
}
public
void
setPromoEndTime
(
LocalDateTime
promoEndTime
)
{
this
.
promoEndTime
=
promoEndTime
;
}
public
Integer
getUseScore
()
{
return
useScore
;
}
public
void
setUseScore
(
Integer
useScore
)
{
this
.
useScore
=
useScore
;
}
public
Integer
getScore
()
{
return
score
;
}
public
void
setScore
(
Integer
score
)
{
this
.
score
=
score
;
}
public
Integer
getIsRolePrice
()
{
return
isRolePrice
;
}
public
void
setIsRolePrice
(
Integer
isRolePrice
)
{
this
.
isRolePrice
=
isRolePrice
;
}
public
LocalDateTime
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
LocalDateTime
createTime
)
{
this
.
createTime
=
createTime
;
}
public
String
getCreateBy
()
{
return
createBy
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
LocalDateTime
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
LocalDateTime
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
Integer
getDeleteTag
()
{
return
deleteTag
;
}
public
void
setDeleteTag
(
Integer
deleteTag
)
{
this
.
deleteTag
=
deleteTag
;
}
public
String
getUpdateBy
()
{
return
updateBy
;
}
public
void
setUpdateBy
(
String
updateBy
)
{
this
.
updateBy
=
updateBy
;
}
public
String
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
;
}
@Override
public
String
toString
()
{
return
"CurriculumPriceEntity{"
+
"id="
+
id
+
", relId="
+
relId
+
", chargeMode="
+
chargeMode
+
", price="
+
price
+
", crossedPrice="
+
crossedPrice
+
", promo="
+
promo
+
", promoPrice="
+
promoPrice
+
", promoStartTime="
+
promoStartTime
+
", promoEndTime="
+
promoEndTime
+
", useScore="
+
useScore
+
", score="
+
score
+
", isRolePrice="
+
isRolePrice
+
", createTime="
+
createTime
+
", createBy="
+
createBy
+
", updateTime="
+
updateTime
+
", deleteTag="
+
deleteTag
+
", updateBy="
+
updateBy
+
", orgId="
+
orgId
+
"}"
;
}
}
community-service/src/main/java/com/tanpu/community/dao/entity/user/CurriculumResEntity.java
deleted
100644 → 0
View file @
1a2f5fdb
package
com
.
tanpu
.
community
.
dao
.
entity
.
user
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* <p>
* 课程资源
* </p>
*
* @author xudong
* @since 2021-06-23
*/
@TableName
(
"curriculum_res"
)
@ApiModel
(
value
=
"CurriculumResEntity对象"
,
description
=
"课程资源"
)
public
class
CurriculumResEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"主键id"
)
private
String
id
;
@ApiModelProperty
(
value
=
"课程名称"
)
private
String
title
;
@ApiModelProperty
(
value
=
"课程音视频"
)
private
String
audio
;
@ApiModelProperty
(
value
=
"音/视频类型 1:音频 2:视频 3:小视频"
)
private
Integer
audioType
;
@ApiModelProperty
(
value
=
"讲师id"
)
private
String
teacherId
;
@ApiModelProperty
(
value
=
"讲师姓名"
)
private
String
teacherName
;
@ApiModelProperty
(
value
=
"文稿内容"
)
private
String
content
;
@ApiModelProperty
(
value
=
"时长"
)
private
Integer
duration
;
@ApiModelProperty
(
value
=
"文件大小KB"
)
private
Integer
fileSize
;
@ApiModelProperty
(
value
=
"组织id"
)
private
String
orgId
;
@ApiModelProperty
(
value
=
"房间密码"
)
private
String
roomPwd
;
@ApiModelProperty
(
value
=
"白名单 1:白名单 2:黑名单"
)
private
Integer
whiteList
;
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
@ApiModelProperty
(
value
=
"阅读数"
)
private
Integer
readNum
;
@ApiModelProperty
(
value
=
"阅读基础数"
)
private
Integer
readBaseNum
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
@ApiModelProperty
(
value
=
"更新时间"
)
private
LocalDateTime
updateTime
;
@ApiModelProperty
(
value
=
"删除标识"
)
private
Integer
deleteTag
;
@ApiModelProperty
(
value
=
"状态"
)
private
Integer
status
;
@ApiModelProperty
(
value
=
"排序"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"简介"
)
private
String
info
;
@ApiModelProperty
(
value
=
"封面"
)
private
String
cover
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getTitle
()
{
return
title
;
}
public
void
setTitle
(
String
title
)
{
this
.
title
=
title
;
}
public
String
getAudio
()
{
return
audio
;
}
public
void
setAudio
(
String
audio
)
{
this
.
audio
=
audio
;
}
public
Integer
getAudioType
()
{
return
audioType
;
}
public
void
setAudioType
(
Integer
audioType
)
{
this
.
audioType
=
audioType
;
}
public
String
getTeacherId
()
{
return
teacherId
;
}
public
void
setTeacherId
(
String
teacherId
)
{
this
.
teacherId
=
teacherId
;
}
public
String
getTeacherName
()
{
return
teacherName
;
}
public
void
setTeacherName
(
String
teacherName
)
{
this
.
teacherName
=
teacherName
;
}
public
String
getContent
()
{
return
content
;
}
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
public
Integer
getDuration
()
{
return
duration
;
}
public
void
setDuration
(
Integer
duration
)
{
this
.
duration
=
duration
;
}
public
Integer
getFileSize
()
{
return
fileSize
;
}
public
void
setFileSize
(
Integer
fileSize
)
{
this
.
fileSize
=
fileSize
;
}
public
String
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
;
}
public
String
getRoomPwd
()
{
return
roomPwd
;
}
public
void
setRoomPwd
(
String
roomPwd
)
{
this
.
roomPwd
=
roomPwd
;
}
public
Integer
getWhiteList
()
{
return
whiteList
;
}
public
void
setWhiteList
(
Integer
whiteList
)
{
this
.
whiteList
=
whiteList
;
}
public
String
getCreateBy
()
{
return
createBy
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
Integer
getReadNum
()
{
return
readNum
;
}
public
void
setReadNum
(
Integer
readNum
)
{
this
.
readNum
=
readNum
;
}
public
Integer
getReadBaseNum
()
{
return
readBaseNum
;
}
public
void
setReadBaseNum
(
Integer
readBaseNum
)
{
this
.
readBaseNum
=
readBaseNum
;
}
public
LocalDateTime
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
LocalDateTime
createTime
)
{
this
.
createTime
=
createTime
;
}
public
String
getUpdateBy
()
{
return
updateBy
;
}
public
void
setUpdateBy
(
String
updateBy
)
{
this
.
updateBy
=
updateBy
;
}
public
LocalDateTime
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
LocalDateTime
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
Integer
getDeleteTag
()
{
return
deleteTag
;
}
public
void
setDeleteTag
(
Integer
deleteTag
)
{
this
.
deleteTag
=
deleteTag
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
}
public
String
getInfo
()
{
return
info
;
}
public
void
setInfo
(
String
info
)
{
this
.
info
=
info
;
}
public
String
getCover
()
{
return
cover
;
}
public
void
setCover
(
String
cover
)
{
this
.
cover
=
cover
;
}
@Override
public
String
toString
()
{
return
"CurriculumResEntity{"
+
"id="
+
id
+
", title="
+
title
+
", audio="
+
audio
+
", audioType="
+
audioType
+
", teacherId="
+
teacherId
+
", teacherName="
+
teacherName
+
", content="
+
content
+
", duration="
+
duration
+
", fileSize="
+
fileSize
+
", orgId="
+
orgId
+
", roomPwd="
+
roomPwd
+
", whiteList="
+
whiteList
+
", createBy="
+
createBy
+
", readNum="
+
readNum
+
", readBaseNum="
+
readBaseNum
+
", createTime="
+
createTime
+
", updateBy="
+
updateBy
+
", updateTime="
+
updateTime
+
", deleteTag="
+
deleteTag
+
", status="
+
status
+
", sort="
+
sort
+
", info="
+
info
+
", cover="
+
cover
+
"}"
;
}
}
community-service/src/main/java/com/tanpu/community/dao/entity/user/FinProResEntity.java
deleted
100644 → 0
View file @
1a2f5fdb
This diff is collapsed.
Click to expand it.
community-service/src/main/java/com/tanpu/community/dao/entity/user/OrderFlowEntity.java
deleted
100644 → 0
View file @
1a2f5fdb
package
com
.
tanpu
.
community
.
dao
.
entity
.
user
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* <p>
*
* </p>
*
* @author xudong
* @since 2021-06-24
*/
@TableName
(
"order_flow"
)
@ApiModel
(
value
=
"OrderFlowEntity对象"
,
description
=
""
)
public
class
OrderFlowEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"唯一主键"
)
private
String
id
;
@ApiModelProperty
(
value
=
"订单号"
)
private
String
abOrdernum
;
@ApiModelProperty
(
value
=
"产品价格"
)
private
Long
abPrice
;
@ApiModelProperty
(
value
=
"积分"
)
private
Long
abScore
;
@ApiModelProperty
(
value
=
"积分抵扣"
)
private
Long
abScoreDeduct
;
@ApiModelProperty
(
value
=
"账户余额抵扣"
)
private
Long
abAccountDeduct
;
@ApiModelProperty
(
value
=
"支付通道付款金额"
)
private
Long
abPayment
;
@ApiModelProperty
(
value
=
"支付方式 1:免费 2:积分 3现金"
)
private
String
abPayMode
;
@ApiModelProperty
(
value
=
"订单总额"
)
private
Long
abTotalMoney
;
@ApiModelProperty
(
value
=
"产品类型"
)
private
String
abType
;
@ApiModelProperty
(
value
=
"产品ID"
)
private
String
abProid
;
@ApiModelProperty
(
value
=
"产品规格ID"
)
private
String
abProSiid
;
@ApiModelProperty
(
value
=
"产品规格类型"
)
private
String
abSiType
;
@ApiModelProperty
(
value
=
"产品规格规格名称"
)
private
String
abSiName
;
@ApiModelProperty
(
value
=
"产品规格规格编码"
)
private
String
abSiCode
;
@ApiModelProperty
(
value
=
"产品规格定价模式"
)
private
String
abSiPattern
;
@ApiModelProperty
(
value
=
"状态 WAIT:待支付 SUCCESS:支付成功 FAIL:支付失败 CANCEL:取消交易"
)
private
String
abStatus
;
@ApiModelProperty
(
value
=
"权益分配状态"
)
private
String
abRightsStatus
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
LocalDateTime
createtime
;
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createby
;
@ApiModelProperty
(
value
=
"修改时间"
)
private
LocalDateTime
updatetime
;
@ApiModelProperty
(
value
=
"修改人"
)
private
String
updateby
;
@ApiModelProperty
(
value
=
"删除标识"
)
private
String
deletetag
;
@ApiModelProperty
(
value
=
"微信unionid"
)
private
String
unionid
;
@ApiModelProperty
(
value
=
"交易流水号"
)
private
String
transactionSerialNo
;
@ApiModelProperty
(
value
=
"付款时间"
)
private
LocalDateTime
payTime
;
@ApiModelProperty
(
value
=
"完成时间"
)
private
LocalDateTime
completeTime
;
@ApiModelProperty
(
value
=
"机构id"
)
private
String
orgId
;
@ApiModelProperty
(
value
=
"注册手机号"
)
private
String
registerPhone
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getAbOrdernum
()
{
return
abOrdernum
;
}
public
void
setAbOrdernum
(
String
abOrdernum
)
{
this
.
abOrdernum
=
abOrdernum
;
}
public
Long
getAbPrice
()
{
return
abPrice
;
}
public
void
setAbPrice
(
Long
abPrice
)
{
this
.
abPrice
=
abPrice
;
}
public
Long
getAbScore
()
{
return
abScore
;
}
public
void
setAbScore
(
Long
abScore
)
{
this
.
abScore
=
abScore
;
}
public
Long
getAbScoreDeduct
()
{
return
abScoreDeduct
;
}
public
void
setAbScoreDeduct
(
Long
abScoreDeduct
)
{
this
.
abScoreDeduct
=
abScoreDeduct
;
}
public
Long
getAbAccountDeduct
()
{
return
abAccountDeduct
;
}
public
void
setAbAccountDeduct
(
Long
abAccountDeduct
)
{
this
.
abAccountDeduct
=
abAccountDeduct
;
}
public
Long
getAbPayment
()
{
return
abPayment
;
}
public
void
setAbPayment
(
Long
abPayment
)
{
this
.
abPayment
=
abPayment
;
}
public
String
getAbPayMode
()
{
return
abPayMode
;
}
public
void
setAbPayMode
(
String
abPayMode
)
{
this
.
abPayMode
=
abPayMode
;
}
public
Long
getAbTotalMoney
()
{
return
abTotalMoney
;
}
public
void
setAbTotalMoney
(
Long
abTotalMoney
)
{
this
.
abTotalMoney
=
abTotalMoney
;
}
public
String
getAbType
()
{
return
abType
;
}
public
void
setAbType
(
String
abType
)
{
this
.
abType
=
abType
;
}
public
String
getAbProid
()
{
return
abProid
;
}
public
void
setAbProid
(
String
abProid
)
{
this
.
abProid
=
abProid
;
}
public
String
getAbProSiid
()
{
return
abProSiid
;
}
public
void
setAbProSiid
(
String
abProSiid
)
{
this
.
abProSiid
=
abProSiid
;
}
public
String
getAbSiType
()
{
return
abSiType
;
}
public
void
setAbSiType
(
String
abSiType
)
{
this
.
abSiType
=
abSiType
;
}
public
String
getAbSiName
()
{
return
abSiName
;
}
public
void
setAbSiName
(
String
abSiName
)
{
this
.
abSiName
=
abSiName
;
}
public
String
getAbSiCode
()
{
return
abSiCode
;
}
public
void
setAbSiCode
(
String
abSiCode
)
{
this
.
abSiCode
=
abSiCode
;
}
public
String
getAbSiPattern
()
{
return
abSiPattern
;
}
public
void
setAbSiPattern
(
String
abSiPattern
)
{
this
.
abSiPattern
=
abSiPattern
;
}
public
String
getAbStatus
()
{
return
abStatus
;
}
public
void
setAbStatus
(
String
abStatus
)
{
this
.
abStatus
=
abStatus
;
}
public
String
getAbRightsStatus
()
{
return
abRightsStatus
;
}
public
void
setAbRightsStatus
(
String
abRightsStatus
)
{
this
.
abRightsStatus
=
abRightsStatus
;
}
public
LocalDateTime
getCreatetime
()
{
return
createtime
;
}
public
void
setCreatetime
(
LocalDateTime
createtime
)
{
this
.
createtime
=
createtime
;
}
public
String
getCreateby
()
{
return
createby
;
}
public
void
setCreateby
(
String
createby
)
{
this
.
createby
=
createby
;
}
public
LocalDateTime
getUpdatetime
()
{
return
updatetime
;
}
public
void
setUpdatetime
(
LocalDateTime
updatetime
)
{
this
.
updatetime
=
updatetime
;
}
public
String
getUpdateby
()
{
return
updateby
;
}
public
void
setUpdateby
(
String
updateby
)
{
this
.
updateby
=
updateby
;
}
public
String
getDeletetag
()
{
return
deletetag
;
}
public
void
setDeletetag
(
String
deletetag
)
{
this
.
deletetag
=
deletetag
;
}
public
String
getUnionid
()
{
return
unionid
;
}
public
void
setUnionid
(
String
unionid
)
{
this
.
unionid
=
unionid
;
}
public
String
getTransactionSerialNo
()
{
return
transactionSerialNo
;
}
public
void
setTransactionSerialNo
(
String
transactionSerialNo
)
{
this
.
transactionSerialNo
=
transactionSerialNo
;
}
public
LocalDateTime
getPayTime
()
{
return
payTime
;
}
public
void
setPayTime
(
LocalDateTime
payTime
)
{
this
.
payTime
=
payTime
;
}
public
LocalDateTime
getCompleteTime
()
{
return
completeTime
;
}
public
void
setCompleteTime
(
LocalDateTime
completeTime
)
{
this
.
completeTime
=
completeTime
;
}
public
String
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
;
}
public
String
getRegisterPhone
()
{
return
registerPhone
;
}
public
void
setRegisterPhone
(
String
registerPhone
)
{
this
.
registerPhone
=
registerPhone
;
}
@Override
public
String
toString
()
{
return
"OrderFlowEntity{"
+
"id="
+
id
+
", abOrdernum="
+
abOrdernum
+
", abPrice="
+
abPrice
+
", abScore="
+
abScore
+
", abScoreDeduct="
+
abScoreDeduct
+
", abAccountDeduct="
+
abAccountDeduct
+
", abPayment="
+
abPayment
+
", abPayMode="
+
abPayMode
+
", abTotalMoney="
+
abTotalMoney
+
", abType="
+
abType
+
", abProid="
+
abProid
+
", abProSiid="
+
abProSiid
+
", abSiType="
+
abSiType
+
", abSiName="
+
abSiName
+
", abSiCode="
+
abSiCode
+
", abSiPattern="
+
abSiPattern
+
", abStatus="
+
abStatus
+
", abRightsStatus="
+
abRightsStatus
+
", createtime="
+
createtime
+
", createby="
+
createby
+
", updatetime="
+
updatetime
+
", updateby="
+
updateby
+
", deletetag="
+
deletetag
+
", unionid="
+
unionid
+
", transactionSerialNo="
+
transactionSerialNo
+
", payTime="
+
payTime
+
", completeTime="
+
completeTime
+
", orgId="
+
orgId
+
", registerPhone="
+
registerPhone
+
"}"
;
}
}
community-service/src/main/java/com/tanpu/community/dao/entity/user/UserInfoEntity.java
View file @
b70e6d7c
package
com
.
tanpu
.
community
.
dao
.
entity
.
user
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.time.LocalDateTime
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
java.io.Serializabl
e
;
import
com.baomidou.mybatisplus.annotation.TableNam
e
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
*
* </p>
*
* @author xudong
* @since 2021-07-
14
* @since 2021-07-
20
*/
@TableName
(
"user_info"
)
@ApiModel
(
value
=
"UserInfoEntity对象"
,
description
=
""
)
...
...
@@ -24,6 +25,9 @@ public class UserInfoEntity implements Serializable {
@ApiModelProperty
(
value
=
"唯一主键"
)
private
String
id
;
@ApiModelProperty
(
value
=
"账户类型 1普通账号 2机构账号 3机构人员"
)
private
Integer
userType
;
@ApiModelProperty
(
value
=
"微信openId"
)
private
String
uiOpenid
;
...
...
@@ -253,6 +257,14 @@ public class UserInfoEntity implements Serializable {
this
.
id
=
id
;
}
public
Integer
getUserType
()
{
return
userType
;
}
public
void
setUserType
(
Integer
userType
)
{
this
.
userType
=
userType
;
}
public
String
getUiOpenid
()
{
return
uiOpenid
;
}
...
...
@@ -889,6 +901,7 @@ public class UserInfoEntity implements Serializable {
public
String
toString
()
{
return
"UserInfoEntity{"
+
"id="
+
id
+
", userType="
+
userType
+
", uiOpenid="
+
uiOpenid
+
", uiUnionid="
+
uiUnionid
+
", uiTelphone="
+
uiTelphone
+
...
...
community-service/src/main/java/com/tanpu/community/dao/mapper/user/CurriculumPriceMapper.java
deleted
100644 → 0
View file @
1a2f5fdb
package
com
.
tanpu
.
community
.
dao
.
mapper
.
user
;
import
com.tanpu.community.dao.entity.user.CurriculumPriceEntity
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 定价表 Mapper 接口
* </p>
*
* @author xudong
* @since 2021-06-24
*/
public
interface
CurriculumPriceMapper
extends
BaseMapper
<
CurriculumPriceEntity
>
{
}
community-service/src/main/java/com/tanpu/community/dao/mapper/user/CurriculumResMapper.java
deleted
100644 → 0
View file @
1a2f5fdb
package
com
.
tanpu
.
community
.
dao
.
mapper
.
user
;
import
com.tanpu.community.dao.entity.user.CurriculumResEntity
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 课程资源 Mapper 接口
* </p>
*
* @author xudong
* @since 2021-06-23
*/
public
interface
CurriculumResMapper
extends
BaseMapper
<
CurriculumResEntity
>
{
}
community-service/src/main/java/com/tanpu/community/dao/mapper/user/FinProResMapper.java
deleted
100644 → 0
View file @
1a2f5fdb
package
com
.
tanpu
.
community
.
dao
.
mapper
.
user
;
import
com.tanpu.community.dao.entity.user.FinProResEntity
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author xudong
* @since 2021-06-23
*/
public
interface
FinProResMapper
extends
BaseMapper
<
FinProResEntity
>
{
}
community-service/src/main/java/com/tanpu/community/dao/mapper/user/OrderFlowMapper.java
deleted
100644 → 0
View file @
1a2f5fdb
package
com
.
tanpu
.
community
.
dao
.
mapper
.
user
;
import
com.tanpu.community.dao.entity.user.OrderFlowEntity
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author xudong
* @since 2021-06-24
*/
public
interface
OrderFlowMapper
extends
BaseMapper
<
OrderFlowEntity
>
{
}
community-service/src/main/java/com/tanpu/community/service/ProductService.java
View file @
b70e6d7c
...
...
@@ -376,9 +376,12 @@ public class ProductService {
themeQo
.
setTopicTitle
(
topicMap
.
get
(
themeQo
.
getTopicId
()));
}
if
(!
StringUtils
.
isEmpty
(
themeQo
.
getAuthorId
())
&&
userMap
.
containsKey
(
themeQo
.
getAuthorId
()))
{
themeQo
.
setNickName
(
userMap
.
get
(
themeQo
.
getAuthorId
()).
getUiUsernameMp
());
themeQo
.
setUserImg
(
userMap
.
get
(
themeQo
.
getAuthorId
()).
getUiHeadimgMp
());
themeQo
.
setUserIntroduction
(
userMap
.
get
(
themeQo
.
getAuthorId
()).
getUiIntroductionMp
());
UserInfoEntity
userInfoEntity
=
userMap
.
get
(
themeQo
.
getAuthorId
());
themeQo
.
setNickName
(
userInfoEntity
.
getUiUsernameMp
());
themeQo
.
setUserImg
(
userInfoEntity
.
getUiHeadimgMp
());
themeQo
.
setUserIntroduction
(
userInfoEntity
.
getUiIntroductionMp
());
themeQo
.
setUserType
(
userInfoEntity
.
getUserType
());
themeQo
.
setLevelGrade
(
userInfoEntity
.
getLevelGrade
());
}
if
(
themeQo
.
getContent
()
==
null
)
{
continue
;
...
...
community-service/src/main/resources/mapper/user/UserInfoEntityMapper.xml
View file @
b70e6d7c
...
...
@@ -5,6 +5,7 @@
<!-- 通用查询映射结果 -->
<resultMap
id=
"BaseResultMap"
type=
"com.tanpu.community.dao.entity.user.UserInfoEntity"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"user_type"
property=
"userType"
/>
<result
column=
"ui_openid"
property=
"uiOpenid"
/>
<result
column=
"ui_unionId"
property=
"uiUnionid"
/>
<result
column=
"ui_telphone"
property=
"uiTelphone"
/>
...
...
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