Helius
2021-04-06 30c2ee7f4e4404063f99b7d6b8d05e5d4cd51e21
zq-erp/src/main/java/com/matrix/system/app/mapper/SysStoreInfoMapper.java
@@ -1,7 +1,9 @@
package com.matrix.system.app.mapper;
import com.matrix.system.app.vo.StoreInOutListVo;
import com.matrix.system.app.vo.StoreListVo;
import com.matrix.system.hive.bean.SysStoreInfo;
import com.matrix.system.hive.pojo.StoreInOutRecordVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;
@@ -23,4 +25,9 @@
    public abstract StoreListVo entityToStoreVo(SysStoreInfo sysStoreInfo);
    public abstract List<StoreListVo> entitiesToStoreVos(List<SysStoreInfo> list);
    @Mapping(target = "content", source = "orderType")
    public abstract StoreInOutListVo recordVoToInOutListVo(StoreInOutRecordVO recordVO);
    public abstract List<StoreInOutListVo> recordVosToInOutListVos(List<StoreInOutRecordVO> list);
}