wuxw
2020-02-07 ea33b3b2bc67f1eeb6ac8228dfd3e08df539f1c8
WebService/src/main/java/com/java110/web/components/machineRecord/MachineRecordManageComponent.java
@@ -1,7 +1,10 @@
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;
@@ -27,7 +30,13 @@
     * @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() {