jyy
2021-03-15 a5d95bfe4f5f0325c0b351b1e55c906af9207c8e
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);
}