mapstruct暂时注释,tableIgnore 字段添加
This commit is contained in:
parent
ee5b471334
commit
3be7e496b4
@ -1,6 +1,7 @@
|
||||
package cd.casic.ci.process.process.dataObject.task;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
import org.json.JSONObject;
|
||||
@ -37,6 +38,7 @@ public class PipTask {
|
||||
private JSONObject taskProperties;
|
||||
|
||||
// 执行实例id
|
||||
@TableField(exist = false)
|
||||
private String instanceId;
|
||||
private LocalDateTime updateTime;
|
||||
private Long updateUserId;
|
||||
|
@ -19,10 +19,10 @@ public interface ConfigConvert {
|
||||
|
||||
List<ConfigRespVO> convertList(List<ConfigDO> list);
|
||||
|
||||
@Mapping(source = "configKey", target = "key")
|
||||
// @Mapping(source = "configKey", target = "key")
|
||||
ConfigRespVO convert(ConfigDO bean);
|
||||
|
||||
@Mapping(source = "key", target = "configKey")
|
||||
// @Mapping(source = "key", target = "configKey")
|
||||
ConfigDO convert(ConfigSaveReqVO bean);
|
||||
|
||||
}
|
||||
|
@ -11,12 +11,12 @@ import org.mapstruct.factory.Mappers;
|
||||
*
|
||||
* @author mianbin modified from yudao
|
||||
*/
|
||||
@Mapper
|
||||
//@Mapper
|
||||
public interface FileConfigConvert {
|
||||
|
||||
FileConfigConvert INSTANCE = Mappers.getMapper(FileConfigConvert.class);
|
||||
|
||||
@Mapping(target = "config", ignore = true)
|
||||
// @Mapping(target = "config", ignore = true)
|
||||
FileConfigDO convert(FileConfigSaveReqVO bean);
|
||||
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
//@Mapper
|
||||
public interface DictDataConvert {
|
||||
|
||||
DictDataConvert INSTANCE = Mappers.getMapper(DictDataConvert.class);
|
||||
|
@ -9,7 +9,7 @@ import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
//@Mapper
|
||||
public interface DictTypeConvert {
|
||||
|
||||
DictTypeConvert INSTANCE = Mappers.getMapper(DictTypeConvert.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user