会员管理优化

master
382696293@qq.com 2 years ago
parent 3926874547
commit e815e5ac1b

@ -56,7 +56,15 @@ public class WxUserScriptLogServiceImpl implements IWxUserScriptLogService {
*/
@Override
public List<WxUserScriptLog> selectWxUserScriptLogList(WxUserScriptLog wxUserScriptLog) {
return wxUserScriptLogMapper.selectWxUserScriptLogList(wxUserScriptLog);
List<WxUserScriptLog> wxUserScriptLogs = wxUserScriptLogMapper.selectWxUserScriptLogList(wxUserScriptLog);
for (WxUserScriptLog userScriptLog : wxUserScriptLogs) {
if (userScriptLog.getIsCustom() == 0 && userScriptLog.getScriptTemplateId() != null) {
WxScriptTemplate wxScriptTemplate = wxScriptTemplateMapper.selectWxScriptTemplateById(userScriptLog.getScriptTemplateId().longValue());
userScriptLog.setContent(wxScriptTemplate.getContent());
userScriptLog.setTitile(wxScriptTemplate.getTitile());
}
}
return wxUserScriptLogs;
}
/**

@ -240,7 +240,7 @@
</el-button>
</template>
</el-table-column>
<el-table-column label="即将过期积分" align="center" prop=""/>
<el-table-column label="即将过期积分" align="center" prop="expireCredit"/>
<el-table-column label="用户类型" align="center" prop="userType">
<template slot-scope="scope">
<span v-show="scope.row.userType == 0"></span>
@ -623,8 +623,8 @@
<el-table-column type="index" width="50"></el-table-column>
<el-table-column prop="source" label="类型" width="100px">
<template slot-scope="scope">
<span v-show="scope.row.source == 0"></span>
<span v-show="scope.row.source == 1"></span>
<span v-show="scope.row.source == 2"></span>
</template>
</el-table-column>
<el-table-column prop="floatScore" label="变动积分"

Loading…
Cancel
Save