935090232@qq.com
2022-02-22 bbe0a2fd03063316e50cf141986bda984599bbda
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);
}