|
@@ -4,6 +4,7 @@ import com.comtika.safe.entity.warn.WarnRecord;
|
|
import com.comtika.safe.entity.warn.help.WarnHelp;
|
|
import com.comtika.safe.entity.warn.help.WarnHelp;
|
|
import com.comtika.safe.entity.warn.help.WarnHomeHelp;
|
|
import com.comtika.safe.entity.warn.help.WarnHomeHelp;
|
|
import com.comtika.safe.entity.warn.help.WarnMonthHelp;
|
|
import com.comtika.safe.entity.warn.help.WarnMonthHelp;
|
|
|
|
+import org.beetl.sql.core.annotatoin.Sql;
|
|
import org.beetl.sql.core.annotatoin.SqlResource;
|
|
import org.beetl.sql.core.annotatoin.SqlResource;
|
|
import org.beetl.sql.core.engine.PageQuery;
|
|
import org.beetl.sql.core.engine.PageQuery;
|
|
import org.beetl.sql.core.mapper.BaseMapper;
|
|
import org.beetl.sql.core.mapper.BaseMapper;
|
|
@@ -28,4 +29,8 @@ public interface IWarnRecordDao extends BaseMapper<WarnRecord> {
|
|
List<WarnHomeHelp> findWarnHomeTotal(Map<String, Object> condition);
|
|
List<WarnHomeHelp> findWarnHomeTotal(Map<String, Object> condition);
|
|
|
|
|
|
int findWarnTotal(Map<String, Object> condition);
|
|
int findWarnTotal(Map<String, Object> condition);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @Sql(value = "select r.*,su.`name` from warn_record r LEFT JOIN sys_user su on r.handle_user_id = su.user_id where r.id = ? limit 1")
|
|
|
|
+ Map<String, Object> findWarnRecordInfo(Integer id);
|
|
}
|
|
}
|