Commit 622b463d by 吴迪

【新增】修改sql

parent 05281c68
......@@ -597,7 +597,7 @@ public class NewsController extends AbstractController {
//首页商品二维码在零售领域的应用
@Login
@PostMapping("/api/retailCodeList")
// @RequiresPermissions("manage:news:list")
// @RequiresPermissions("manage:news:list")
public R retailCodeTop6List(@RequestBody Map<String, String> params) {
QueryWrapper<NewsEntity> queryWrapper = new QueryWrapper<>();
......
......@@ -4,8 +4,8 @@ spring:
druid:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://192.168.0.77:1433;DatabaseName=gs108
username: test
password: test
username: test1
password: test1
initial-size: 10
max-active: 100
min-idle: 10
......
......@@ -214,6 +214,7 @@
and t.levels > 0
and t.status = '1'
and t1.classid = #{newsParams.classId}
where t.id IS not null
order by t.levels desc,releasedate DESC
</select>
......
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