Commit 46bd5f09 authored by zhangyingbin's avatar zhangyingbin

气瓶总览星级修改

parent dea7726b
......@@ -99,5 +99,9 @@ public class CylinderUnitDto extends BaseDto {
* 许可有限期
*/
private String fillingPermitDate;
/**
* 星级 (写死的★★★★★)
*/
private String evaluate;
}
......@@ -78,6 +78,7 @@ public class CylinderUnitController extends BaseController {
@ApiOperation(httpMethod = "GET",value = "根据sequenceNbr查询单个气瓶企业信息", notes = "根据sequenceNbr查询单个气瓶企业信息")
public ResponseModel<CylinderUnitDto> selectOne(@RequestParam Long id) {
CylinderUnitDto unit = cylinderUnitServiceImpl.queryBySeq(id);
unit.setEvaluate("★★★★★");
// 查询气瓶数量以及过期数量
Map<String, String> cylinderInfo = iCylinderInfoService.queryNumAndOutOfDateNum(unit.getSequenceNbr());
if(cylinderInfo != null) {
......
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