| | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.google.gson.reflect.TypeToken; |
| | | import com.whyc.dto.*; |
| | | import com.whyc.pojo.db_param.PageParam; |
| | | import com.whyc.pojo.db_wms.Task; |
| | | import com.whyc.util.HttpUtil; |
| | | import com.whyc.util.JsonUtil; |
| | |
| | | |
| | | @Autowired |
| | | private TaskService taskService; |
| | | |
| | | @Autowired |
| | | private PageParamService paramService; |
| | | |
| | | public Response getMaterialList() { |
| | | String httpUrl = "http://192.168.10.133:8051"+"/api/Wms_material/get_all"; |
| | |
| | | |
| | | taskService.add(task); |
| | | |
| | | //更新电池编号 |
| | | PageParam pageParam = new PageParam(); |
| | | pageParam.setId(3); |
| | | pageParam.setValue(Integer.valueOf(task.getPallets())); |
| | | paramService.updateById(pageParam); |
| | | |
| | | } |
| | | return response; |