自动化立体仓库 - WCS系统
#
vincent
2020-06-03 4c82a8e7f607ebbb82a8d9c44e5ea08e1c8b0419
src/main/java/com/zy/client/controller/SiteController.java
@@ -2,8 +2,8 @@
import com.core.annotations.ManagerAuth;
import com.core.common.R;
import com.zy.client.domain.PlcErrorTable;
import com.zy.client.domain.SiteTableVo;
import com.zy.client.domain.vo.PlcErrorTableVo;
import com.zy.client.domain.vo.SiteTableVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -53,9 +53,9 @@
    @PostMapping("/table/plc/errors")
    @ManagerAuth(memo = "输送设备plc异常信息表")
    public R plcErrorTable(){
        List<PlcErrorTable> list = new ArrayList<>();
        List<PlcErrorTableVo> list = new ArrayList<>();
        for (int i = 0; i<new Random().nextInt(13); i++){
            PlcErrorTable table = new PlcErrorTable();
            PlcErrorTableVo table = new PlcErrorTableVo();
            table.setNo(String.valueOf(i));
            table.setError("异常信息");
            table.setPlcDesc("plc异常描述");