| | |
| | | import com.thhy.general.common.BasicResult; |
| | | import com.thhy.general.config.SysUserInfo; |
| | | import com.thhy.general.utils.UserInfoUtils; |
| | | import com.thhy.mobile.modules.biz.pipeinfo.entity.MaterialInfo; |
| | | import com.thhy.mobile.modules.biz.pipeinfo.entity.PipeListVo; |
| | | import com.thhy.mobile.modules.biz.pipeinfo.entity.ScreenPipeCompare; |
| | | import com.thhy.mobile.modules.biz.pipeinfo.entity.*; |
| | | import com.thhy.mobile.modules.biz.pipeinfo.service.PipeInfoService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | return BasicResult.success(mapto); |
| | | } |
| | | |
| | | //thing.js 原料实际消耗数量列表 前10条数据 |
| | | @RequestMapping("/materialInfo") |
| | | public BasicResult materialInfo(){ |
| | | return BasicResult.success(pipeInfoService.materialInfo()); |
| | | } |
| | | //thing.js 原料消耗总量 |
| | | @RequestMapping("/materialNumInfo") |
| | | public BasicResult materialNumInfo(){ |
| | | List<MaterialThingNumDto> materialInfo = pipeInfoService.materialNumInfo(); |
| | | return BasicResult.success(materialInfo); |
| | | } |
| | | } |