提交 038aa420 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 66d99ce0
......@@ -20,7 +20,10 @@ import com.zrqx.core.service.BaseServiceImpl;
import com.zrqx.core.util.page.PageInfo;
import com.zrqx.core.util.page.PageParam;
import com.zrqx.core.vo.resource.imagelibrary.ImageLibraryListVO;
import com.zrqx.resource.bg.mapper.ResourceRelationMapper;
import com.zrqx.resource.bg.mapper.imagelibrary.ImageLibraryDiyTypeMapper;
import com.zrqx.resource.bg.mapper.imagelibrary.ImageLibraryMapper;
import com.zrqx.resource.bg.mapper.record.RecordMapper;
import tk.mybatis.mapper.entity.Example;
......@@ -32,7 +35,6 @@ public class ImageLibrarySerivceImpl extends BaseServiceImpl<ImageLibrary,String
@Autowired
private ImageLibraryMapper mapper;
@Override
public BaseMapper<ImageLibrary> getMapper() {
return mapper;
}
......@@ -84,6 +86,8 @@ public class ImageLibrarySerivceImpl extends BaseServiceImpl<ImageLibrary,String
obj.setFormats(form.getFormats().get(i));
obj.setImagesName(form.getNames().get(i));
obj.setSort(this.getMaxSort());
obj.setStatus(LibraryStatusEnum.STATUS_1.getCode());
obj.setUploadTime(new Date());
mapper.insert(obj);
}
return true;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论