| | |
| | | package com.java110.web.components.machineRecord; |
| | | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.core.context.PageData; |
| | | import com.java110.utils.constant.StateConstant; |
| | | import com.java110.web.smo.machineRecord.IListMachineRecordsSMO; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.ResponseEntity; |
| | |
| | | * @return 返回 ResponseEntity 对象 |
| | | */ |
| | | public ResponseEntity<String> list(IPageData pd){ |
| | | return listMachineRecordsSMOImpl.listMachineRecords(pd); |
| | | JSONObject reqParam = JSONObject.parseObject(pd.getReqData()); |
| | | reqParam.put("recordTypeCd", "8888"); |
| | | |
| | | IPageData newPd = PageData.newInstance().builder(pd.getUserId(),pd.getUserName(), pd.getToken(), |
| | | reqParam.toJSONString(), pd.getComponentCode(), pd.getComponentMethod(), "", pd.getSessionId()); |
| | | |
| | | return listMachineRecordsSMOImpl.listMachineRecords(newPd); |
| | | } |
| | | |
| | | public IListMachineRecordsSMO getListMachineRecordsSMOImpl() { |