| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.code.bo.CodeClassifyFullInfoBO; |
| | | import com.vci.ubcs.code.bo.CodeTemplateAttrSqlBO; |
| | |
| | | import com.vci.ubcs.code.vo.CodeKeyAttrRepeatVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.UITableFieldVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.*; |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.starter.revision.model.BaseModel; |
| | | import com.vci.ubcs.starter.revision.model.TreeQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.*; |
| | | import com.vci.ubcs.starter.web.util.VciQueryWrapperForDO; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | import java.beans.IntrospectionException; |
| | | import java.lang.reflect.InvocationTargetException; |
| | | import java.sql.SQLException; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | /** |
| | | * 默认列表 |
| | | * @param referConfigVO |
| | | * @param pageHelper |
| | | * @return |
| | | */ |
| | | DataGrid referDataGrid(UIFormReferVO referConfigVO, PageHelper pageHelper); |
| | | IPage<BaseModel> referDataGrid(UIFormReferVO referConfigVO, BaseQueryObject baseQueryObject); |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | List<Tree> referTree(UIFormReferVO referConfigVO, TreeQueryObject queryObject); |
| | | |
| | | |
| | | /** |
| | | * 是否为修改忽略的属性 |
| | | * @param attrName 属性的名字 |
| | | * @return true 表示应该忽略 |
| | | */ |
| | | boolean checkUnAttrUnEdit(String attrName); |
| | | // { |
| | | // return (VciQueryWrapperForDO.OID_FIELD.equalsIgnoreCase(attrName) |
| | | // ||"ts".equalsIgnoreCase(attrName) |
| | | // || "lastmodifier".equalsIgnoreCase(attrName) |
| | | // || "lastmodifytime".equalsIgnoreCase(attrName) |
| | | // || "createtime".equalsIgnoreCase(attrName) |
| | | // || "checkintime".equalsIgnoreCase(attrName) |
| | | // ||"checkouttime".equalsIgnoreCase(attrName)); |
| | | // } |
| | | default boolean checkUnAttrUnEdit(String attrName){ |
| | | return (VciQueryWrapperForDO.OID_FIELD.equalsIgnoreCase(attrName) |
| | | ||"ts".equalsIgnoreCase(attrName) |
| | | || "lastmodifier".equalsIgnoreCase(attrName) |
| | | || "lastmodifytime".equalsIgnoreCase(attrName) |
| | | || "createtime".equalsIgnoreCase(attrName) |
| | | || "checkintime".equalsIgnoreCase(attrName) |
| | | ||"checkouttime".equalsIgnoreCase(attrName)); |
| | | } |
| | | |
| | | } |