Merge branch 'main' of http://114.55.171.231:3000/lxd/inspect-backend
This commit is contained in:
commit
d833ffd7da
@ -5,6 +5,7 @@ import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|||||||
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
||||||
import cn.iocoder.yudao.module.inspect.controller.admin.inspectorg.vo.InspectOrgPageReqVO;
|
import cn.iocoder.yudao.module.inspect.controller.admin.inspectorg.vo.InspectOrgPageReqVO;
|
||||||
import cn.iocoder.yudao.module.inspect.dal.dataobject.inspectorg.InspectOrgDO;
|
import cn.iocoder.yudao.module.inspect.dal.dataobject.inspectorg.InspectOrgDO;
|
||||||
|
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -15,6 +16,7 @@ import java.util.List;
|
|||||||
* @author 芋道源码
|
* @author 芋道源码
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
|
@InterceptorIgnore(tenantLine = "true")
|
||||||
public interface InspectOrgMapper extends BaseMapperX<InspectOrgDO> {
|
public interface InspectOrgMapper extends BaseMapperX<InspectOrgDO> {
|
||||||
|
|
||||||
default PageResult<InspectOrgDO> selectPage(InspectOrgPageReqVO reqVO) {
|
default PageResult<InspectOrgDO> selectPage(InspectOrgPageReqVO reqVO) {
|
||||||
|
@ -9,9 +9,9 @@ import java.lang.reflect.Field;
|
|||||||
import java.lang.reflect.Modifier;
|
import java.lang.reflect.Modifier;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
public class ObjectCommonServiceImpl implements ObjectCommonService<InspectOrgDO>{
|
public class ObjectCommonServiceImpl implements ObjectCommonService<T>{
|
||||||
@Override
|
@Override
|
||||||
public InspectOrgDO trimAllStringFiledFormObj(InspectOrgDO obj) {
|
public T trimAllStringFiledFormObj(T obj) {
|
||||||
if (obj == null) return null;
|
if (obj == null) return null;
|
||||||
|
|
||||||
Class<?> clazz = obj.getClass();
|
Class<?> clazz = obj.getClass();
|
||||||
|
Loading…
Reference in New Issue
Block a user