Commit 08eb116b authored by 竹天卫's avatar 竹天卫

优化代码

parent 38951fc6
......@@ -168,7 +168,6 @@
<artifactId>jfreechart</artifactId>
<version>1.5.0</version>
</dependency>
</dependencies>
<build>
......
package cn.wise.sc.cement.business.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 前端控制器
* </p>
*
* @author ztw
* @since 2020-11-21
*/
@RestController
@RequestMapping("/business/supplier-enclosure")
public class SupplierEnclosureController {
}
......@@ -26,7 +26,7 @@ import org.springframework.web.bind.annotation.RestController;
@RequestMapping("/business/sys-user-message")
public class SysUserMessageController {
private static final Logger log = LoggerFactory.getLogger("TeamGroupController");
private static final Logger log = LoggerFactory.getLogger("SysUserMessageController");
@Autowired
private ISysUserMessageService userMessageService;
......
......@@ -48,8 +48,6 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
@Resource
private ProjectMapper projectMapper;
@Resource
private ClientMapper clientMapper;
@Override
public BaseResponse<IPage<ProjectVo>> getPage(PageQuery pageQuery, String code, Integer clientId, String name) {
......
......@@ -33,9 +33,9 @@ public class SysDictionaryServiceImpl extends ServiceImpl<SysDictionaryMapper, S
if (dictionary == null) {
return BaseResponse.errorMsg("信息错误");
}
String coneten = dictionary.getContent();
String conetent = dictionary.getContent();
JSONArray jsonArray = JSONArray.parseArray(coneten);
JSONArray jsonArray = JSONArray.parseArray(conetent);
return BaseResponse.okData(jsonArray);
}
......
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