|
@@ -12,6 +12,7 @@ import org.jeecg.common.system.base.controller.JeecgController;
|
|
|
import org.jeecg.common.system.query.QueryGenerator;
|
|
|
import org.jeecg.modules.actualControl.billetActual.billetActual.entity.BilletBasicInfo;
|
|
|
import org.jeecg.modules.actualControl.billetActual.billetActual.service.IBilletBasicInfoService;
|
|
|
+import org.jeecg.modules.billet.billetHotsendConfig.entity.BilletHotsendTypeConfig;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
@@ -168,10 +169,7 @@ public class BilletBasicInfoController extends JeecgController<BilletBasicInfo,
|
|
|
@ApiOperation(value="钢坯类型名称信息-通过铸机号", notes="钢坯类型名称信息-通过铸机号")
|
|
|
@GetMapping(value = "/queryBilletNameList")
|
|
|
public Result<?> queryBilletNameList(@RequestParam(name="castMachine") String castMachine) {
|
|
|
- List<String> billetNameList = billetBasicInfoService.queryBilletNameList(castMachine);
|
|
|
- if (billetNameList.size() == 0){
|
|
|
- return Result.error("钢坯类型名称信息不存在!");
|
|
|
- }
|
|
|
+ List<BilletHotsendTypeConfig> billetNameList = billetBasicInfoService.queryBilletNameList(castMachine);
|
|
|
return Result.OK(billetNameList);
|
|
|
}
|
|
|
}
|