jyy
2021-01-26 e8e539b6b3c86d6a8ac226449df5b5d16662798a
1、修改看板查询bug
1 files modified
7 ■■■■ changed files
zq-erp/src/main/java/com/matrix/system/app/action/AppOccupancyController.java 7 ●●●● patch | view | raw | blame | history
zq-erp/src/main/java/com/matrix/system/app/action/AppOccupancyController.java
@@ -22,10 +22,7 @@
import io.swagger.annotations.ApiResponses;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.ArrayList;
@@ -54,7 +51,7 @@
            @ApiResponse(code = 200, message = "ok", response = OccupancyController.OccupancySPan.class)
    })
    @GetMapping(value = "/getKanban/{timeStr}")
    AjaxResult showCwzyList(String timeStr) {
    AjaxResult showCwzyList(@PathVariable String timeStr) {
        //TODO app的用户获不能在session中,方案要改
        SysUsers sysUsers = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY);
        return occupancyController.getCwzyList(timeStr,sysUsers.getShopId());