dongdingding
董丁丁 2 years ago
parent 3b6b355c62
commit 95f5b5451d

@ -39,7 +39,7 @@ public class TcBjsjController extends BaseController
/**
* ()
*/
@PreAuthorize("@ss.hasPermi('zongzhi:bjsj:list')")
@GetMapping("/list")
public TableDataInfo list(TcBjsj tcBjsj)
{
@ -51,8 +51,7 @@ public class TcBjsjController extends BaseController
/**
* ()
*/
@PreAuthorize("@ss.hasPermi('zongzhi:bjsj:export')")
@Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, TcBjsj tcBjsj)
{
@ -64,7 +63,7 @@ public class TcBjsjController extends BaseController
/**
* ()
*/
@PreAuthorize("@ss.hasPermi('zongzhi:bjsj:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
@ -74,8 +73,7 @@ public class TcBjsjController extends BaseController
/**
* ()
*/
@PreAuthorize("@ss.hasPermi('zongzhi:bjsj:add')")
@Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TcBjsj tcBjsj)
{
@ -85,8 +83,7 @@ public class TcBjsjController extends BaseController
/**
* ()
*/
@PreAuthorize("@ss.hasPermi('zongzhi:bjsj:edit')")
@Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TcBjsj tcBjsj)
{
@ -96,8 +93,7 @@ public class TcBjsjController extends BaseController
/**
* ()
*/
@PreAuthorize("@ss.hasPermi('zongzhi:bjsj:remove')")
@Log(title = "本级上级网评指令比列 (月)", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{

@ -8,7 +8,7 @@
<select id="getSentimentType" resultType="com.ruoyi.screen.domain.response.ZongzhiSentimentTypeResponse">
select count(*) as count , type,date_time as publishTime
from tc_yq_zs
GROUP BY type,publish_time
GROUP BY type,date_time
</select>
<select id="getSentimenCount" resultType="com.ruoyi.screen.domain.response.ZongzhiSentimentCountResponse">
select count(*) as count ,sentiment_type as type,ROUND(COUNT(*) * 100.0 / SUM(COUNT(*)) OVER (), 1) AS pt

Loading…
Cancel
Save