| 限定符和类型 | 方法和说明 |
|---|---|
Notify |
autoGet(Notify notify) |
java.util.List<Notify> |
autoQuery(Notify entity) |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getBudgetImplementation(java.lang.String year)
根据项目编号分组查询当前执行数使用率
|
java.util.List<Notify> |
myNotifyPage(java.lang.String userId) |
java.util.List<Notify> |
queryNoReadNotify(java.lang.String userId) |
java.util.List<Notify> |
queryNotifyList(Notify entity,
java.lang.String userId) |
java.util.List<Notify> |
querySystemPromptList(Notify entity,
java.lang.String userId) |
autoAdd, autoDeleteById, autoSum, autoUpdate, autoUpdateNotNull, deleteByTable, execSql, getCount, querySql, updateByTable@Select(value="select n.*,nr.read_flag readFlagStr from sys_notify n,sys_notify_record nr where nr.notify_id = n.id and nr.user_id = \'${userId}\' and n.del=0 and nr.del=0 and n.status=1")
java.util.List<Notify> myNotifyPage(@Param(value="userId")
java.lang.String userId)
@Select(value="SELECT n.* FROM sys_notify n, sys_notify_record nr WHERE nr.notify_id = n.id AND n.del = 0 AND nr.del = 0 AND n.STATUS = 1 AND (n.module_type = \'tzgg\' OR n.module_type is null) AND nr.user_id =\'${userId}\' order by n.create_date desc limit 0,4")
java.util.List<Notify> queryNotifyList(Notify entity,
@Param(value="userId")
java.lang.String userId)
@Select(value="SELECT n.* FROM sys_notify n, sys_notify_record nr WHERE nr.notify_id = n.id AND n.del = 0 AND nr.del = 0 AND n.STATUS = 1 AND nr.read_flag = 0 AND nr.user_id = \'${userId}\' AND (n.module_type = \'tzgg\' OR n.module_type is null) AND n.is_Must_Read = 1 order by n.create_date desc")
java.util.List<Notify> queryNoReadNotify(@Param(value="userId")
java.lang.String userId)
@Select(value="SELECT n.* FROM sys_notify n, sys_notify_record nr WHERE nr.notify_id = n.id AND n.module_type = \'xtts\' AND nr.user_id =\'${userId}\' order by n.create_date desc limit 0,3")
java.util.List<Notify> querySystemPromptList(Notify entity,
@Param(value="userId")
java.lang.String userId)
@Select(value="select project_code,name,execute_year, ROUND(budgetImplementation,4) as budgetImplementation from (SELECT budget_execute.project_code,data_project.name,execute_year, if((sum(if(execute_type=1 or execute_type =2,money,0)))>0,(SUM(if(execute_type=3 or execute_type=4 or execute_type=5,money,0))*-1)/sum(if(execute_type=1 or execute_type =2,money,0)),6666)as budgetImplementation from budget_execute left join data_project on budget_execute.project_code = data_project.code group by budget_execute.project_code)aa where budgetImplementation != \'6666\' and execute_year =#{param1}")
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getBudgetImplementation(java.lang.String year)
Copyright © 2019. All Rights Reserved.