Commit 5531b8ec by 朱亚洁

内部接口加字段

parent 65890204
...@@ -54,6 +54,10 @@ public class GroupClassifyQrcodeDTO implements Serializable { ...@@ -54,6 +54,10 @@ public class GroupClassifyQrcodeDTO implements Serializable {
* 是否开启群学习报告 * 是否开启群学习报告
*/ */
private Boolean hasOpenLearningReport; private Boolean hasOpenLearningReport;
/**
* 进群方式:1群二维码,2客服机器人
*/
private Integer joinGroupType;
public Long getBookId() { public Long getBookId() {
return bookId; return bookId;
...@@ -135,6 +139,14 @@ public class GroupClassifyQrcodeDTO implements Serializable { ...@@ -135,6 +139,14 @@ public class GroupClassifyQrcodeDTO implements Serializable {
this.hasOpenLearningReport = hasOpenLearningReport; this.hasOpenLearningReport = hasOpenLearningReport;
} }
public Integer getJoinGroupType() {
return joinGroupType;
}
public void setJoinGroupType(Integer joinGroupType) {
this.joinGroupType = joinGroupType;
}
@Override @Override
public String toString() { public String toString() {
return "GroupClassifyQrcodeDTO{" + return "GroupClassifyQrcodeDTO{" +
...@@ -148,6 +160,7 @@ public class GroupClassifyQrcodeDTO implements Serializable { ...@@ -148,6 +160,7 @@ public class GroupClassifyQrcodeDTO implements Serializable {
", price=" + price + ", price=" + price +
", qrCodeUrl='" + qrCodeUrl + '\'' + ", qrCodeUrl='" + qrCodeUrl + '\'' +
", hasOpenLearningReport=" + hasOpenLearningReport + ", hasOpenLearningReport=" + hasOpenLearningReport +
", joinGroupType=" + joinGroupType +
'}'; '}';
} }
} }
...@@ -310,10 +310,14 @@ ...@@ -310,10 +310,14 @@
q.id groupQrcodeId, q.id groupQrcodeId,
c.has_open_learning_report hasOpenLearningReport, c.has_open_learning_report hasOpenLearningReport,
q.weixin_qrcode_id weixinQrcodeId, q.weixin_qrcode_id weixinQrcodeId,
q.qrcode_url qrCodeUrl q.qrcode_url qrCodeUrl,
from g.join_group_type joinGroupType
book_group_classify c join book_group_qrcode q on c.id = q.classify_id FROM
and q.weixin_group_id = #{_parameter} limit 1 book_group_classify c
JOIN book_group_qrcode q ON c.id = q.classify_id
JOIN book_group g ON c.book_group_id = g.id
WHERE q.weixin_group_id = #{_parameter}
LIMIT 1
</select> </select>
<select id="listClassifyQrcodeInfo" resultType="GroupClassifyQrcodeDTO" parameterType="list"> <select id="listClassifyQrcodeInfo" resultType="GroupClassifyQrcodeDTO" parameterType="list">
......
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