通过别名简化代码

master
星期八 5 years ago
parent 3a6078727a
commit 85f9876e85
  1. 1
      src/main/java/com/lq/cms/service/impl/SysLogServiceImpl.java
  2. 1
      src/main/java/com/lq/cms/service/impl/SysRoleResourcePermissionServiceImpl.java
  3. 1
      src/main/java/com/lq/entity/SysLog.java
  4. 3
      src/main/webapp/WEB-INF/views/jsp/cms/sys/log/index.jsp

@ -13,6 +13,7 @@ import java.util.List;
/**
* Created by qi_liang on 2018/6/21.
* @author qi
*/
@Service
public class SysLogServiceImpl implements SysLogService {

@ -51,7 +51,6 @@ public class SysRoleResourcePermissionServiceImpl implements SysRoleResourcePer
public List<ZtreeComposite> findZtree(Long roleId) {
List<ZtreeComposite> ztreeList=new ArrayList<>();
List<SysResource> resourceList=sysResourceDao.findByParentId(0L);
for (SysResource sysResource:resourceList){
ZtreeItem ztreeItem=new ZtreeItem();
ztreeItem.setId(sysResource.getId());

@ -6,6 +6,7 @@ import java.util.Date;
/** 系统日志表
* Created by qi on 2017/7/27.
* @author qi
*/
public class SysLog extends IdEntity {
/**

@ -27,6 +27,9 @@
</script>
</head>
<body>
<div id="searchFrom">
时间: <input class="easyui-datebox"> - <input class="easyui-datebox">
</div>
<table id="dataList"></table>
</body>
</html>

Loading…
Cancel
Save