|
|
|
@ -8,8 +8,10 @@ import com.productionboard.entity.MesProduction.MesTeamStatistics;
|
|
|
|
|
import com.productionboard.service.IMesProductionDataService;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
@ -29,9 +31,27 @@ public class FoamBoxController {
|
|
|
|
|
|
|
|
|
|
private String prefix = "foamBox/index";
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* id:0-南线;1-北线
|
|
|
|
|
* @author WenJY
|
|
|
|
|
* @date 2022-06-10 13:57
|
|
|
|
|
* @param id
|
|
|
|
|
* @param mmap
|
|
|
|
|
* @return java.lang.String
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping()
|
|
|
|
|
public String index()
|
|
|
|
|
public String index(@RequestParam("id") int id,ModelMap mmap)
|
|
|
|
|
{
|
|
|
|
|
switch (id) {
|
|
|
|
|
case 0:
|
|
|
|
|
mmap.put("positionId",0);
|
|
|
|
|
break;
|
|
|
|
|
case 1:
|
|
|
|
|
mmap.put("positionId",1);
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
return prefix;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|