¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.dto; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å æ°æ®ä¼ è¾å¯¹è±¡å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeKeyattrrepeatDTO extends CodeKeyattrrepeatEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.dto; |
| | | |
| | | |
| | | import com.vci.ubcs.code.vo.pagemodel.BaseModelVO; |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * åä¹è¯é
ç½®æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * è¿ä¹è¯ç»´æ¤ æ°æ®ä¼ è¾å¯¹è±¡å®ä½ç±» |
| | | * |
| | | * @author weidy |
| | | * @date 2022-02-17 |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | public class CodeSynonymDTO extends BaseModelVO { |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeSynonymDTO extends CodeSynonymEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * ç¦æ¢ä¿®æ¹è¿ä¸ªå¼ |
| | | */ |
| | | private static final long serialVersionUID = 4615707117393017144L; |
| | | |
| | | /** |
| | | * æå±ç¼ç è§å |
| | | */ |
| | | private String codeclassifytemplateoid; |
| | | |
| | | /** |
| | | * æå±ç¼ç è§åæ¾ç¤ºææ¬ |
| | | */ |
| | | private String codeclassifytemplateoidName; |
| | | /** |
| | | * æºå¼ |
| | | */ |
| | | private String sourcevalue; |
| | | |
| | | /** |
| | | * åä¹è¯ |
| | | */ |
| | | private String synonymvalue; |
| | | |
| | | |
| | | /** |
| | | * è·å æå±ç¼ç è§å |
| | | */ |
| | | public String getCodeclassifytemplateoid (){ |
| | | return codeclassifytemplateoid; |
| | | } |
| | | |
| | | /** |
| | | * 设置 æå±ç¼ç è§å |
| | | */ |
| | | public void setCodeclassifytemplateoid (String codeclassifytemplateoid){ |
| | | this.codeclassifytemplateoid = codeclassifytemplateoid; |
| | | } |
| | | |
| | | /** |
| | | * è·åæå±ç¼ç è§åæ¾ç¤ºææ¬ |
| | | */ |
| | | public String getCodeclassifytemplateoidName (){ |
| | | return codeclassifytemplateoidName; |
| | | } |
| | | |
| | | /** |
| | | * 设置æå±ç¼ç è§åæ¾ç¤ºææ¬ |
| | | */ |
| | | public void setCodeclassifytemplateoidName (String codeclassifytemplateoidName){ |
| | | this.codeclassifytemplateoidName = codeclassifytemplateoidName; |
| | | } |
| | | /** |
| | | * è·å æºå¼ |
| | | */ |
| | | public String getSourcevalue (){ |
| | | return sourcevalue; |
| | | } |
| | | |
| | | /** |
| | | * 设置 æºå¼ |
| | | */ |
| | | public void setSourcevalue (String sourcevalue){ |
| | | this.sourcevalue = sourcevalue; |
| | | } |
| | | |
| | | /** |
| | | * è·å åä¹è¯ |
| | | */ |
| | | public String getSynonymvalue (){ |
| | | return synonymvalue; |
| | | } |
| | | |
| | | /** |
| | | * 设置 åä¹è¯ |
| | | */ |
| | | public void setSynonymvalue (String synonymvalue){ |
| | | this.synonymvalue = synonymvalue; |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "CodeSynonymDTO{" + |
| | | "codeclassifytemplateoid='" + codeclassifytemplateoid +"',"+ |
| | | "codeclassifytemplateoidName='" + codeclassifytemplateoidName +"'," + |
| | | "sourcevalue='" + sourcevalue +"',"+ |
| | | "synonymvalue='" + synonymvalue +"',"+ |
| | | "}" + super.toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-03-29 |
| | | */ |
| | | @Data |
| | | @TableName("PL_CODE_BUTTON") |
| | | @ApiModel(value = "codebutton对象", description = "æ¨¡æ¿æ©å±æ± ") |
| | | //@EqualsAndHashCode(callSuper = false) |
| | | public class CodeButtonEntity implements Serializable { |
| | | @JsonSerialize( |
| | | using = ToStringSerializer.class |
| | | ) |
| | | @ApiModelProperty("主é®id") |
| | | @TableId( |
| | | value = "oid", |
| | | type = IdType.ASSIGN_ID |
| | | ) |
| | | private Long oid; |
| | | @ApiModelProperty("æé®ç¼ç ") |
| | | private String id; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String nameoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String btmname; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String creator; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date createtime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastmodifier; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date lastmodifytime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short revisionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short versionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lctid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lcstatus; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date ts; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String name; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String description; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String owner; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String copyfromversion; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String iconcls; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String executejs; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String usedpositiontype; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.springblade.core.tenant.mp.TenantEntity; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @Data |
| | | @TableName("PL_CODE_KEYATTRREPEAT") |
| | | @ApiModel(value = "PlCodeKeyattrrepeat对象", description = "å
³é®å±æ§æ¥éè§å") |
| | | //@EqualsAndHashCode(callSuper = true) |
| | | public class CodeKeyattrrepeatEntity implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @JsonSerialize( |
| | | using = ToStringSerializer.class |
| | | ) |
| | | @ApiModelProperty("主é®id") |
| | | @TableId( |
| | | value = "oid", |
| | | type = IdType.ASSIGN_ID |
| | | ) |
| | | private String oid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String id; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String nameoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String btmname; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String creator; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date createtime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastmodifier; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date lastmodifytime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short revisionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short versionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lctid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lcstatus; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date ts; |
| | | /** |
| | | * è§ååç§° |
| | | */ |
| | | @ApiModelProperty(value = "è§ååç§°") |
| | | private String name; |
| | | /** |
| | | * æè¿° |
| | | */ |
| | | @ApiModelProperty(value = "æè¿°") |
| | | private String description; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String owner; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String copyfromversion; |
| | | /** |
| | | * 忽ç¥å¤§å°å |
| | | */ |
| | | @ApiModelProperty(value = "忽ç¥å¤§å°å") |
| | | private String ignorecaseflag; |
| | | /** |
| | | * 忽ç¥ç©ºæ ¼ |
| | | */ |
| | | @ApiModelProperty(value = "忽ç¥ç©ºæ ¼") |
| | | private String ignorespaceflag; |
| | | /** |
| | | * 忽ç¥å
¨é¨ç©ºæ ¼ |
| | | */ |
| | | @ApiModelProperty(value = "忽ç¥å
¨é¨ç©ºæ ¼") |
| | | private String ignoreallspaceflag; |
| | | /** |
| | | * 忽ç¥å
¨åè§ |
| | | */ |
| | | @ApiModelProperty(value = "忽ç¥å
¨åè§") |
| | | private String ignorewidthflag; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import lombok.Data; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | @Data |
| | | @TableName("PL_CODE_SYNONYM") |
| | | @ApiModel(value = "PlCodeSynonym对象", description = "è¿ä¹è¯ç»´æ¤") |
| | | //@EqualsAndHashCode(callSuper = true) |
| | | public class CodeSynonymEntity implements Serializable { |
| | | |
| | | @JsonSerialize( |
| | | using = ToStringSerializer.class |
| | | ) |
| | | @ApiModelProperty("主é®id") |
| | | @TableId( |
| | | value = "oid", |
| | | type = IdType.ASSIGN_ID |
| | | ) |
| | | private String oid; |
| | | @ApiModelProperty(value = "") |
| | | private String id; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String nameoid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String btmname; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstr; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String firstv; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String creator; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date createtime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lastmodifier; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date lastmodifytime; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionrule; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short revisionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String revisionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Short versionseq; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String versionvalue; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lctid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String lcstatus; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private Date ts; |
| | | /** |
| | | * æå±è¡ä¸åç§° |
| | | */ |
| | | @ApiModelProperty(value = "æå±è¡ä¸åç§°") |
| | | private String name; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String description; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String owner; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "") |
| | | private String copyfromversion; |
| | | /** |
| | | * æå±æ¨¡æ¿ |
| | | */ |
| | | @ApiModelProperty(value = "æå±æ¨¡æ¿") |
| | | private String codeclassifytemplateoid; |
| | | /** |
| | | * æºå¼ |
| | | */ |
| | | @ApiModelProperty(value = "æºå¼") |
| | | private String sourcevalue; |
| | | /** |
| | | * åä¹è¯ |
| | | */ |
| | | @ApiModelProperty(value = "åä¹è¯") |
| | | private String synonymvalue; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.vo; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± è§å¾å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-03-29 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeButtonVO extends CodeButtonEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | |
| | | /** |
| | | * ä½ç½®åç§° |
| | | */ |
| | | private String usedpositiontypeName; |
| | | /** |
| | | * ç¶æåç§° |
| | | */ |
| | | private String lcstatusName; |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.vo; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å è§å¾å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeKeyattrrepeatVO extends CodeKeyattrrepeatEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.vo; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ è§å¾å®ä½ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class CodeSynonymVO extends CodeSynonymEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import com.vci.ubcs.code.mapper.CodeButtonMapper; |
| | | import com.vci.ubcs.code.service.ICodeButtonService; |
| | | import com.vci.ubcs.code.vo.CodeButtonVO; |
| | | import com.vci.ubcs.code.wrapper.CodeButtonWrapper; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æ§å¶å¨ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-03-29 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/codebutton") |
| | | @Api(value = "æ¨¡æ¿æ©å±æ± ", tags = "æ¨¡æ¿æ©å±æ± æ¥å£") |
| | | public class CodeButtonController extends BladeController { |
| | | |
| | | private final ICodeButtonService codebuttonService; |
| | | |
| | | CodeButtonMapper codeButtonMapper; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± 详æ
|
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "ä¼ å
¥codebutton") |
| | | public R<CodeButtonVO> detail(CodeButtonEntity codebutton) { |
| | | CodeButtonEntity detail = codeButtonMapper.selectOne(Condition.getQueryWrapper(codebutton)); |
| | | return R.data(CodeButtonWrapper.build().entityVO(detail)); |
| | | } |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± å页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥codebutton") |
| | | public R<IPage<CodeButtonVO>> list(CodeButtonEntity codebutton, Query query) { |
| | | IPage<CodeButtonEntity> pages = codeButtonMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(codebutton)); |
| | | return R.data(CodeButtonWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± èªå®ä¹å页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥codebutton") |
| | | public R<IPage<CodeButtonVO>> page(CodeButtonVO codebutton, Query query) { |
| | | IPage<CodeButtonVO> pages = codebuttonService.selectcodebuttonPage(Condition.getPage(query), codebutton); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æ°å¢ |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "æ°å¢", notes = "ä¼ å
¥codebutton") |
| | | public R save(@Valid @RequestBody CodeButtonEntity codebutton) { |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.insert(codebutton))); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± ä¿®æ¹ |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "ä¿®æ¹", notes = "ä¼ å
¥codebutton") |
| | | public R update(@Valid @RequestBody CodeButtonEntity codebutton) { |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.updateById(codebutton))); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æ°å¢æä¿®æ¹ |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "æ°å¢æä¿®æ¹", notes = "ä¼ å
¥codebutton") |
| | | public R submit(@Valid @RequestBody CodeButtonEntity codebutton) { |
| | | if(codebutton.getOid() != null){ |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.updateById(codebutton))); |
| | | } |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.insert(codebutton))); |
| | | } |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± å é¤ |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "é»è¾å é¤", notes = "ä¼ å
¥ids") |
| | | public R remove(@ApiParam(value = "主é®éå", required = true) @RequestParam String ids) { |
| | | // return codebuttonService.deleteCodeButton(ids); |
| | | return R.status(SqlHelper.retBool(codeButtonMapper.deleteBatchIds(Func.toLongList(ids)))); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å¯ç¨ |
| | | * @param oid æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return å¯ç¨ç»æåé¦ï¼ |
| | | */ |
| | | @PostMapping("/enableData") |
| | | public R enableOrgDuty(@ApiParam(value = "主é®éå", required = true) @RequestParam String oid) { |
| | | return codebuttonService.enableCodeButton(oid); |
| | | } |
| | | |
| | | /** |
| | | * åç¨ |
| | | * @param oid éè¦ä¼ è¾ |
| | | * @return åç¨ç»æåé¦ï¼ |
| | | */ |
| | | @PostMapping("/disableData") |
| | | public R disableOrgDuty(@ApiParam(value = "主é®éå", required = true) @RequestParam String oid) { |
| | | return codebuttonService.disableOrgDuty(oid); |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyMapper; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.vci.ubcs.code.wrapper.CodeClassifyWrapper; |
| | | import com.vci.ubcs.code.service.ICodeClassifyService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ æ§å¶å¨ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-06 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("ubcs-code/codeClassify") |
| | | @Api(value = "主é¢åºå®ä¹è¡¨", tags = "主é¢åºå®ä¹è¡¨æ¥å£") |
| | | public class CodeClassifyController extends BladeController { |
| | | |
| | | private final ICodeClassifyService codeClassifyService; |
| | | |
| | | CodeClassifyMapper codeClassifyMapper; |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ 详æ
|
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "ä¼ å
¥plCodeClassify") |
| | | public R<CodeClassifyVO> detail(CodeClassify codeClassify) { |
| | | CodeClassify detail = codeClassifyMapper.selectOne(Condition.getQueryWrapper(codeClassify)); |
| | | return R.data(CodeClassifyWrapper.build().entityVO(detail)); |
| | | } |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ å页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥plCodeClassify") |
| | | public R<IPage<CodeClassifyVO>> list(CodeClassify codeClassify, Query query) { |
| | | IPage<CodeClassify> pages = codeClassifyMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(codeClassify)); |
| | | return R.data(CodeClassifyWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ èªå®ä¹å页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥plCodeClassify") |
| | | public R<IPage<CodeClassifyVO>> page(CodeClassifyVO codeClassify, Query query) { |
| | | IPage<CodeClassifyVO> pages = codeClassifyService.selectPlCodeClassifyPage(Condition.getPage(query), codeClassify); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ æ°å¢ |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "æ°å¢", notes = "ä¼ å
¥plCodeClassify") |
| | | public R save(@Valid @RequestBody CodeClassify codeClassify) { |
| | | if(codeClassify.getOrderNum() == null){ |
| | | codeClassify.setOrderNum(0); |
| | | } |
| | | return codeClassifyService.addSave(codeClassify); |
| | | } |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ ä¿®æ¹ |
| | | */ |
| | | @PostMapping("/editSave") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "ä¿®æ¹", notes = "ä¼ å
¥plCodeClassify") |
| | | public R editSave(@Valid @RequestBody CodeClassify codeClassify) { |
| | | return codeClassifyService.editSave(codeClassify); |
| | | // return R.status(SqlHelper.retBool(codeClassifyMapper.updateById(codeClassify))); |
| | | } |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ æ°å¢æä¿®æ¹ |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "æ°å¢æä¿®æ¹", notes = "ä¼ å
¥plCodeClassify") |
| | | public R submit(@Valid @RequestBody CodeClassify codeClassify) { |
| | | if(codeClassify.getOid() != null){ |
| | | codeClassify.setLastModifier(AuthUtil.getUser().getUserName()); |
| | | codeClassify.setLastModifyTime(new Date()); |
| | | return R.status(SqlHelper.retBool(codeClassifyMapper.updateById(codeClassify))); |
| | | } |
| | | return codeClassifyService.addSave(codeClassify); |
| | | } |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ å é¤ |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "é»è¾å é¤", notes = "ä¼ å
¥oids") |
| | | public R remove(@ApiParam(value = "主é®éå", required = true) @RequestParam String oids) { |
| | | return R.status(SqlHelper.retBool(codeClassifyMapper.deleteBatchIds(Func.toLongList(oids)))); |
| | | } |
| | | |
| | | /** |
| | | * æ£æ¥ 主é¢åºåç±»æ¯å¦å é¤ |
| | | * @param codeClassify 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ï¼å¿
é¡»è¦æoidåts屿§ |
| | | * @return æ§è¡ç»æ success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ |
| | | */ |
| | | @PostMapping( "/checkIsCanDelete") |
| | | public R checkIsCanDelete(CodeClassify codeClassify) { |
| | | return codeClassifyService.checkIsCanDelete(codeClassify); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ä¸»é¢åºåç±» |
| | | * @param codeClassifyï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @DeleteMapping( "/deleteData") |
| | | public R delCodeClassify(CodeClassify codeClassify) { |
| | | return codeClassifyService.deleteCodeClassify(codeClassify); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import com.vci.ubcs.code.mapper.CodeButtonMapper; |
| | | import com.vci.ubcs.code.mapper.CodeKeyattrrepeatMapper; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.vo.CodeKeyattrrepeatVO; |
| | | import com.vci.ubcs.code.wrapper.PlCodeKeyattrrepeatWrapper; |
| | | import com.vci.ubcs.code.service.ICodeKeyattrrepeatService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å æ§å¶å¨ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/plCodeKeyattrrepeat") |
| | | @Api(value = "å
³é®å±æ§æ¥éè§å", tags = "å
³é®å±æ§æ¥éè§åæ¥å£") |
| | | public class CodeKeyattrrepeatController extends BladeController { |
| | | |
| | | private final ICodeKeyattrrepeatService plCodeKeyattrrepeatService; |
| | | |
| | | |
| | | CodeKeyattrrepeatMapper codeKeyattrrepeatMapper; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å 详æ
|
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "ä¼ å
¥plCodeKeyattrrepeat") |
| | | public R<CodeKeyattrrepeatVO> detail(CodeKeyattrrepeatEntity plCodeKeyattrrepeat) { |
| | | CodeKeyattrrepeatEntity detail = codeKeyattrrepeatMapper.selectOne(Condition.getQueryWrapper(plCodeKeyattrrepeat)); |
| | | return R.data(PlCodeKeyattrrepeatWrapper.build().entityVO(detail)); |
| | | } |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å å页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥plCodeKeyattrrepeat") |
| | | public R<IPage<CodeKeyattrrepeatVO>> list(CodeKeyattrrepeatEntity plCodeKeyattrrepeat, Query query) { |
| | | IPage<CodeKeyattrrepeatEntity> pages = codeKeyattrrepeatMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(plCodeKeyattrrepeat)); |
| | | return R.data(PlCodeKeyattrrepeatWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å èªå®ä¹å页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥plCodeKeyattrrepeat") |
| | | public R<IPage<CodeKeyattrrepeatVO>> page(CodeKeyattrrepeatVO plCodeKeyattrrepeat, Query query) { |
| | | IPage<CodeKeyattrrepeatVO> pages = plCodeKeyattrrepeatService.selectPlCodeKeyattrrepeatPage(Condition.getPage(query), plCodeKeyattrrepeat); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å æ°å¢ |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "æ°å¢", notes = "ä¼ å
¥plCodeKeyattrrepeat") |
| | | public R save(@Valid @RequestBody CodeKeyattrrepeatEntity plCodeKeyattrrepeat) { |
| | | return R.status(SqlHelper.retBool(codeKeyattrrepeatMapper.insert(plCodeKeyattrrepeat))); |
| | | } |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å ä¿®æ¹ |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "ä¿®æ¹", notes = "ä¼ å
¥plCodeKeyattrrepeat") |
| | | public R update(@Valid @RequestBody CodeKeyattrrepeatEntity plCodeKeyattrrepeat) { |
| | | return R.status(SqlHelper.retBool(codeKeyattrrepeatMapper.updateById(plCodeKeyattrrepeat))); |
| | | } |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å æ°å¢æä¿®æ¹ |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "æ°å¢æä¿®æ¹", notes = "ä¼ å
¥plCodeKeyattrrepeat") |
| | | public R submit(@Valid @RequestBody CodeKeyattrrepeatEntity plCodeKeyattrrepeat) { |
| | | if(plCodeKeyattrrepeat.getOid() != null){ |
| | | return R.status(SqlHelper.retBool(codeKeyattrrepeatMapper.updateById(plCodeKeyattrrepeat))); |
| | | } |
| | | return R.status(SqlHelper.retBool(codeKeyattrrepeatMapper.insert(plCodeKeyattrrepeat))); |
| | | } |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å å é¤ |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "é»è¾å é¤", notes = "ä¼ å
¥ids") |
| | | public R remove(@ApiParam(value = "主é®éå", required = true) @RequestParam String ids) { |
| | | return R.status(SqlHelper.retBool(codeKeyattrrepeatMapper.deleteBatchIds(Func.toLongList(ids)))); |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¹éè·åå
³é®æ°æ®æ¥éè§å |
| | | * @param oids 主é®ï¼å¤ä¸ªä»¥éå·åéï¼ä½æ¯åæ§è½å½±åï¼å»ºè®®ä¸æ¬¡æ¥è¯¢ä¸è¶
è¿10000个 |
| | | * @return å
³é®æ°æ®æ¥éè§åæ¾ç¤ºå¯¹è±¡ |
| | | */ |
| | | @PostMapping("/listDataByOids") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "æ¹éæ¥è¯¢", notes = "ä¼ å
¥oids") |
| | | public R listCodeKeyAttrRepeatRuleByOids(@ApiParam(value = "主é®éå", required = true) @RequestParam String oids) { |
| | | return R.data(codeKeyattrrepeatMapper.selectBatchIds(Func.toLongList(oids))); |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import com.vci.ubcs.code.mapper.CodeSynonymMapper; |
| | | import com.vci.ubcs.code.service.ICodeSynonymService; |
| | | import com.vci.ubcs.code.vo.CodeSynonymVO; |
| | | import com.vci.ubcs.code.wrapper.CodeSynonymWrapper; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import lombok.AllArgsConstructor; |
| | | import javax.validation.Valid; |
| | | |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ æ§å¶å¨ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/codeSynonym") |
| | | @Api(value = "è¿ä¹è¯ç»´æ¤", tags = "è¿ä¹è¯ç»´æ¤æ¥å£") |
| | | public class CodeSynonymController extends BladeController { |
| | | |
| | | private final ICodeSynonymService codeSynonymService; |
| | | |
| | | CodeSynonymMapper codeSynonymMapper; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ 详æ
|
| | | */ |
| | | @GetMapping("/detail") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "详æ
", notes = "codeSynonym") |
| | | public R<CodeSynonymVO> detail(CodeSynonymEntity codeSynonym) { |
| | | CodeSynonymEntity detail = codeSynonymMapper.selectOne(Condition.getQueryWrapper(codeSynonym)); |
| | | return R.data(CodeSynonymWrapper.build().entityVO(detail)); |
| | | } |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ å页 |
| | | */ |
| | | @GetMapping("/list") |
| | | @ApiOperationSupport(order = 2) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥codeSynonym") |
| | | public R<IPage<CodeSynonymVO>> list(CodeSynonymEntity codeSynonym, Query query) { |
| | | IPage<CodeSynonymEntity> pages = codeSynonymMapper.selectPage(Condition.getPage(query), Condition.getQueryWrapper(codeSynonym)); |
| | | return R.data(CodeSynonymWrapper.build().pageVO(pages)); |
| | | } |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ èªå®ä¹å页 |
| | | */ |
| | | @GetMapping("/page") |
| | | @ApiOperationSupport(order = 3) |
| | | @ApiOperation(value = "å页", notes = "ä¼ å
¥codeSynonym") |
| | | public R<IPage<CodeSynonymVO>> page(CodeSynonymVO codeSynonym, Query query) { |
| | | IPage<CodeSynonymVO> pages = codeSynonymService.selectPlCodeSynonymPage(Condition.getPage(query), codeSynonym); |
| | | return R.data(pages); |
| | | } |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ æ°å¢ |
| | | */ |
| | | @PostMapping("/save") |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "æ°å¢", notes = "ä¼ å
¥codeSynonym") |
| | | public R save(@Valid @RequestBody CodeSynonymEntity codeSynonym) { |
| | | return R.status(SqlHelper.retBool(codeSynonymMapper.insert(codeSynonym))); |
| | | } |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ ä¿®æ¹ |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "ä¿®æ¹", notes = "ä¼ å
¥codeSynonym") |
| | | public R update(@Valid @RequestBody CodeSynonymEntity codeSynonym) { |
| | | return R.status(SqlHelper.retBool(codeSynonymMapper.updateById(codeSynonym))); |
| | | } |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ æ°å¢æä¿®æ¹ |
| | | */ |
| | | @PostMapping("/submit") |
| | | @ApiOperationSupport(order = 6) |
| | | @ApiOperation(value = "æ°å¢æä¿®æ¹", notes = "ä¼ å
¥codeSynonym") |
| | | public R submit(@Valid @RequestBody CodeSynonymEntity codeSynonym) { |
| | | if(codeSynonym.getOid() != null){ |
| | | return R.status(SqlHelper.retBool(codeSynonymMapper.updateById(codeSynonym))); |
| | | } |
| | | return R.status(SqlHelper.retBool(codeSynonymMapper.insert(codeSynonym))); |
| | | // return R.status(plCodeSynonymService.saveOrUpdate(plCodeSynonym)); |
| | | } |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ å é¤ |
| | | */ |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "é»è¾å é¤", notes = "ä¼ å
¥oids") |
| | | public R remove(@ApiParam(value = "主é®éå", required = true) @RequestParam String oids) { |
| | | return R.status(SqlHelper.retBool(codeSynonymMapper.deleteBatchIds(Func.toLongList(oids)))); |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.enumpack; |
| | | |
| | | |
| | | import static com.vci.ubcs.code.constant.FrameWorkDefaultValueConstant.*; |
| | | |
| | | /** |
| | | * ç¨æ·ï¼è§è²ï¼é¨é¨ï¼èå¡ï¼å²ä½ï¼è级 |
| | | * @author weidy |
| | | */ |
| | | |
| | | public enum FrameworkDataLCStatus { |
| | | |
| | | |
| | | /** |
| | | * å¯ç¨ |
| | | */ |
| | | ENABLED(FRAMEWORK_DATA_ENABLED,"å¯ç¨"), |
| | | |
| | | /** |
| | | * åç¨ |
| | | */ |
| | | DISABLED(FRAMEWORK_DATA_DISABLED,"åç¨"); |
| | | |
| | | /** |
| | | * æä¸¾å¼ |
| | | */ |
| | | private String value; |
| | | |
| | | /** |
| | | * æä¸¾æ¾ç¤ºå¼ |
| | | */ |
| | | private String text; |
| | | /** |
| | | * è·åæä¸¾å¼ |
| | | * @return æä¸¾å¼ |
| | | */ |
| | | |
| | | public String getValue() { |
| | | return value; |
| | | } |
| | | |
| | | /** |
| | | * 设置æä¸¾å¼ |
| | | * @param value æä¸¾å¼ |
| | | */ |
| | | public void setValue(String value) { |
| | | this.value = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åæ¾ç¤ºææ¬ |
| | | * @return æ¾ç¤ºææ¬ |
| | | */ |
| | | |
| | | public String getText() { |
| | | return text; |
| | | } |
| | | |
| | | /** |
| | | * 设置æ¾ç¤ºææ¬ |
| | | * @param text æ¾ç¤ºææ¬ |
| | | */ |
| | | public void setText(String text) { |
| | | this.text = text; |
| | | } |
| | | |
| | | /** |
| | | * æä¸¾å
é¨æé æ¹æ³ |
| | | * @param value æä¸¾å¼ |
| | | * @param text æ¾ç¤ºææ¬ |
| | | */ |
| | | private FrameworkDataLCStatus(String value, String text){ |
| | | this.value = value; |
| | | this.text = text; |
| | | } |
| | | |
| | | /** |
| | | * æ ¹æ®æä¸¾çå¼è·åæ¾ç¤ºææ¬ |
| | | * @param value æä¸¾å¼ |
| | | * @return æ¾ç¤ºææ¬ |
| | | */ |
| | | public static String getTextByValue(String value){ |
| | | for(FrameworkDataLCStatus eu:FrameworkDataLCStatus.values()){ |
| | | if(eu.value.equalsIgnoreCase(value)){ |
| | | return eu.text; |
| | | } |
| | | } |
| | | return ""; |
| | | } |
| | | |
| | | /** |
| | | * æ ¹æ®æä¸¾æ¾ç¤ºææ¬è·åæä¸¾å¼ |
| | | * @param text æ¾ç¤ºææ¬ |
| | | * @return æä¸¾å¼ |
| | | */ |
| | | public static String getValueByText(String text){ |
| | | for(FrameworkDataLCStatus eu:FrameworkDataLCStatus.values()){ |
| | | if(eu.text.equalsIgnoreCase(text)){ |
| | | return eu.value; |
| | | } |
| | | } |
| | | return ""; |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import com.vci.ubcs.code.mapper.CodeButtonMapper; |
| | | import com.vci.ubcs.code.service.ICodeButtonService; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± Feignå®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @ApiIgnore() |
| | | @RestController |
| | | @AllArgsConstructor |
| | | public class CodeButtonClient implements ICodeButtonClient { |
| | | |
| | | private final ICodeButtonService codebuttonService; |
| | | |
| | | |
| | | CodeButtonMapper codeButtonMapper; |
| | | |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodeButtonEntity> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | // IPage<CodeKeyattrrepeatEntity> page = codeKeyattrrepeatMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | |
| | | IPage<CodeButtonEntity> page = codeButtonMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | // IPage<CodeKeyattrrepeatEntity> page = codebuttonService.page(Condition.getPage(query)); |
| | | // return null; |
| | | return BladePage.of(page); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyMapper; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import com.vci.ubcs.code.service.ICodeClassifyService; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ Feignå®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-06 |
| | | */ |
| | | @ApiIgnore() |
| | | @RestController |
| | | @AllArgsConstructor |
| | | public class CodeClassifyClient implements ICodeClassifyClient { |
| | | |
| | | private final ICodeClassifyService plCodeClassifyService; |
| | | |
| | | CodeClassifyMapper codeClassifyMapper; |
| | | |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodeClassify> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | IPage<CodeClassify> page = codeClassifyMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | return BladePage.of(page); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import com.vci.ubcs.code.mapper.CodeKeyattrrepeatMapper; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import com.vci.ubcs.code.service.ICodeKeyattrrepeatService; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å Feignå®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @ApiIgnore() |
| | | @RestController |
| | | @AllArgsConstructor |
| | | public class CodeKeyattrrepeatClient implements lCodeKeyattrrepeatClient { |
| | | |
| | | private final ICodeKeyattrrepeatService plCodeKeyattrrepeatService; |
| | | |
| | | CodeKeyattrrepeatMapper codeKeyattrrepeatMapper; |
| | | |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodeKeyattrrepeatEntity> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | IPage<CodeKeyattrrepeatEntity> page = codeKeyattrrepeatMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | return BladePage.of(page); |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import com.vci.ubcs.code.mapper.CodeSynonymMapper; |
| | | import com.vci.ubcs.code.service.ICodeSynonymService; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ Feignå®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | @ApiIgnore() |
| | | @RestController |
| | | @AllArgsConstructor |
| | | public class CodeSynonymClient implements ICodeSynonymClient { |
| | | |
| | | private final ICodeSynonymService plCodeSynonymService; |
| | | |
| | | CodeSynonymMapper codeSynonymMapper; |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodeSynonymEntity> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | IPage<CodeSynonymEntity> page = codeSynonymMapper.selectPage(Condition.getPage(query), Wrappers.emptyWrapper()); |
| | | return BladePage.of(page); |
| | | // return null; |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± Feignæ¥å£ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @FeignClient( |
| | | value = "ubcs-code" |
| | | ) |
| | | public interface ICodeButtonClient { |
| | | |
| | | String API_PREFIX = "/codeButton"; |
| | | String TOP = API_PREFIX + "/top"; |
| | | |
| | | /** |
| | | * è·åæ¨¡æ¿æ©å±æ± å表 |
| | | * |
| | | * @param current é¡µå· |
| | | * @param size é¡µæ° |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodeButtonEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ Feignæ¥å£ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-06 |
| | | */ |
| | | @FeignClient( |
| | | value = "ubcs-code" |
| | | ) |
| | | public interface ICodeClassifyClient { |
| | | |
| | | String API_PREFIX = "/codeClass"; |
| | | String TOP = API_PREFIX + "/top"; |
| | | |
| | | /** |
| | | * è·å主é¢åºå®ä¹è¡¨å表 |
| | | * |
| | | * @param current é¡µå· |
| | | * @param size é¡µæ° |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodeClassify> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ Feignæ¥å£ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | @FeignClient( |
| | | value = "ubcs-code" |
| | | ) |
| | | public interface ICodeSynonymClient { |
| | | |
| | | String API_PREFIX = "/codeSynonym"; |
| | | String TOP = API_PREFIX + "/synonymlist"; |
| | | |
| | | /** |
| | | * è·åè¿ä¹è¯ç»´æ¤å表 |
| | | * |
| | | * @param current é¡µå· |
| | | * @param size é¡µæ° |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodeSynonymEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å Feignæ¥å£ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @FeignClient( |
| | | value = "ubcs-code" |
| | | ) |
| | | public interface lCodeKeyattrrepeatClient { |
| | | |
| | | String API_PREFIX = "/codekey"; |
| | | String TOP = API_PREFIX + "/keylist"; |
| | | |
| | | /** |
| | | * è·åå
³é®å±æ§æ¥éè§åå表 |
| | | * |
| | | * @param current é¡µå· |
| | | * @param size é¡µæ° |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodeKeyattrrepeatEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import com.vci.ubcs.code.vo.CodeButtonVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± Mapper æ¥å£ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-03-29 |
| | | */ |
| | | public interface CodeButtonMapper extends BaseMapper<CodeButtonEntity> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param codebutton |
| | | * @return |
| | | */ |
| | | List<CodeButtonVO> selectcodebuttonPage(IPage page, CodeButtonVO codebutton); |
| | | |
| | | |
| | | } |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | /** |
| | | * 主é¢åºåç±»æ°æ®æä½å± |
| | | * |
| | | * @author ludc |
| | | * @date 2022-01-20 |
| | | */ |
| | | public interface CodeClassifyMapper extends BaseMapper<CodeClassify> { |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; |
| | | import org.apache.ibatis.annotations.MapKey; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 主é¢åºå®ä¹è¡¨ Mapper æ¥å£ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-06 |
| | | */ |
| | | public interface CodeClassifyMapper extends BaseMapper<CodeClassify> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param plCodeClassify |
| | | * @return |
| | | */ |
| | | List<CodeClassifyVO> selectPlCodeClassifyPage(IPage page, CodeClassifyVO plCodeClassify); |
| | | |
| | | /** |
| | | * æ¥æ¾åç±» |
| | | * |
| | | * @param oid |
| | | * @return |
| | | */ |
| | | @MapKey("oid") |
| | | Map<String,String> selectAllLevelChildOid(String oid); |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦å
å«åèç¹ |
| | | * |
| | | * @param oid åç±»çä¸»é® |
| | | * @return true 表示å
å« |
| | | */ |
| | | // @MapKey("oid") |
| | | Boolean checkHasChild(String oid); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import com.vci.ubcs.code.vo.CodeKeyattrrepeatVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å Mapper æ¥å£ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | public interface CodeKeyattrrepeatMapper extends BaseMapper<CodeKeyattrrepeatEntity> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param plCodeKeyattrrepeat |
| | | * @return |
| | | */ |
| | | List<CodeKeyattrrepeatVO> selectPlCodeKeyattrrepeatPage(IPage page, CodeKeyattrrepeatVO plCodeKeyattrrepeat); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.mapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import com.vci.ubcs.code.vo.CodeSynonymVO; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ Mapper æ¥å£ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | public interface CodeSynonymMapper extends BaseMapper<CodeSynonymEntity> { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param plCodeSynonym |
| | | * @return |
| | | */ |
| | | List<CodeSynonymVO> selectPlCodeSynonymPage(IPage page, CodeSynonymVO plCodeSynonym); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import com.vci.ubcs.code.vo.CodeButtonVO; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æå¡ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-03-29 |
| | | */ |
| | | public interface ICodeButtonService { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param codebutton |
| | | * @return |
| | | */ |
| | | IPage<CodeButtonVO> selectcodebuttonPage(IPage<CodeButtonVO> page, CodeButtonVO codebutton); |
| | | |
| | | /** |
| | | * å¯ç¨ |
| | | * @param oid æ°æ®ä¼ è¾ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | R enableCodeButton(String oid); |
| | | |
| | | /** |
| | | * åç¨ |
| | | * @param oid æ°æ®ä¼ è¾ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | R disableOrgDuty(String oid); |
| | | /** |
| | | * å é¤ä¸»æ°æ®ä¸çæé®æ©å± |
| | | * @param ids ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | // R deleteCodeButton(String ids); |
| | | } |
| | |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; |
| | | import org.springblade.core.tool.api.R; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | List<CodeClassify> selectByWrapper(Wrapper wrapper); |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param plCodeClassify |
| | | * @return |
| | | */ |
| | | IPage<CodeClassifyVO> selectPlCodeClassifyPage(IPage<CodeClassifyVO> page, CodeClassifyVO plCodeClassify); |
| | | |
| | | /** |
| | | * å¢å 主é¢åºåç±» |
| | | * @param codeClassifyEntity 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | R addSave(CodeClassify codeClassifyEntity) ; |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸»é¢åºåç±» |
| | | * @param codeClassifyEntity 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | R editSave(CodeClassify codeClassifyEntity) ; |
| | | /** |
| | | * æ£æ¥ 主é¢åºåç±»æ¯å¦å é¤ |
| | | * @param codeClassify 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ï¼å¿
é¡»è¦æoidåts屿§ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | R checkIsCanDelete(CodeClassify codeClassify); |
| | | |
| | | /** |
| | | * æ£æ¥æ¯å¦æä¸çº§æ¯å¦å
³èäºæ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return true 表示æå¼ç¨ï¼false表示没æå¼ç¨ |
| | | */ |
| | | boolean checkChildIsLinked(String oid) ; |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦æä¸çº§èç¹ï¼ä¸æ ¡éªæ¯å¦å
³èäºæ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return true表示æä¸çº§ï¼false表示没æä¸çº§ |
| | | */ |
| | | boolean checkHasChild(String oid) ; |
| | | |
| | | /** |
| | | * å é¤ä¸»é¢åºåç±» |
| | | * @param codeClassify 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | R deleteCodeClassify(CodeClassify codeClassify) ; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import com.vci.ubcs.code.vo.CodeKeyattrrepeatVO; |
| | | import org.springblade.core.mp.base.BaseService; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å æå¡ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | public interface ICodeKeyattrrepeatService { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param plCodeKeyattrrepeat |
| | | * @return |
| | | */ |
| | | IPage<CodeKeyattrrepeatVO> selectPlCodeKeyattrrepeatPage(IPage<CodeKeyattrrepeatVO> page, CodeKeyattrrepeatVO plCodeKeyattrrepeat); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.service; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import com.vci.ubcs.code.vo.CodeSynonymVO; |
| | | import org.springblade.core.mp.base.BaseService; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ æå¡ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | public interface ICodeSynonymService { |
| | | |
| | | /** |
| | | * èªå®ä¹å页 |
| | | * |
| | | * @param page |
| | | * @param plCodeSynonym |
| | | * @return |
| | | */ |
| | | IPage<CodeSynonymVO> selectPlCodeSynonymPage(IPage<CodeSynonymVO> page, CodeSynonymVO plCodeSynonym); |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import com.vci.ubcs.code.enumpack.FrameworkDataLCStatus; |
| | | import com.vci.ubcs.code.mapper.CodeButtonMapper; |
| | | import com.vci.ubcs.code.service.ICodeButtonService; |
| | | import com.vci.ubcs.code.vo.CodeButtonVO; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± æå¡å®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-03-29 |
| | | */ |
| | | @Service |
| | | public class CodeButtonServiceImpl implements ICodeButtonService { |
| | | |
| | | @Autowired |
| | | CodeButtonMapper codeButtonMapper; |
| | | |
| | | @Override |
| | | public IPage<CodeButtonVO> selectcodebuttonPage(IPage<CodeButtonVO> page, CodeButtonVO codebutton) { |
| | | return page.setRecords(codeButtonMapper.selectcodebuttonPage(page, codebutton)); |
| | | } |
| | | |
| | | @Override |
| | | public R enableCodeButton(String id) { |
| | | CodeButtonEntity codebutton = codeButtonMapper.selectById(id); |
| | | return changeLcStatus(codebutton,true); |
| | | } |
| | | /** |
| | | * åç¨ |
| | | * |
| | | * @param oid æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | @Override |
| | | public R disableOrgDuty(String oid) { |
| | | CodeButtonEntity codebutton = codeButtonMapper.selectById(oid); |
| | | return changeLcStatus(codebutton,false); |
| | | } |
| | | |
| | | // @Override |
| | | // public R deleteCodeButton(String ids) { |
| | | //// VciBaseUtil.alertNotNull(codeButtonDTO,"ä¸»æ°æ®ä¸çæé®æ©å±æ°æ®å¯¹è±¡",codeButtonDTO.getOid(),"ä¸»æ°æ®ä¸çæé®æ©å±ç主é®"); |
| | | // if(StringUtils.isEmpty(ids)){ |
| | | // return R.fail("ä¼ å
¥éæ³æ°æ®ï¼"); |
| | | // } |
| | | // CodeButtonEntity codebutton = codeButtonMapper.selectById(ids); |
| | | // |
| | | // CodeButtonDO codeButtonDO = selectByOid(codeButtonDTO.getOid()); |
| | | // BaseResult baseResult = checkIsCanDeleteForDO(codeButtonDTO,codeButtonDO); |
| | | // if(baseResult.isSuccess()) { |
| | | // }else{ |
| | | // return baseResult; |
| | | // } |
| | | // //æ§è¡å é¤æä½ |
| | | // BatchCBO batchCBO = codeButtonMapper.deleteByPrimaryKey(codeButtonDO.getOid()); |
| | | // return (batchCBO!=null && batchCBO.getDeleteCbos() !=null &&batchCBO.getDeleteCbos().size() > 0)?BaseResult.successMsg(DELETE_SUCCESS):BaseResult.fail(DELETE_FAIL); |
| | | // } |
| | | |
| | | /** |
| | | * ä¿®æ¹çå½å¨æçç¶æï¼å¦åç¨åå¯ç¨ |
| | | * @param buttonDTO æ°æ®ä¼ è¾å¯¹è±¡ï¼å¿
é¡»è¦æoidåts |
| | | * @param disable æ¯å¦ä¸ºåç¨ |
| | | * @return æ§è¡çç»æ |
| | | */ |
| | | private R changeLcStatus(CodeButtonEntity buttonDTO, boolean disable){ |
| | | // VciBaseUtil.alertNotNull(buttonDTO,"æ°æ®å¯¹è±¡",buttonDTO.getOid(),"主é®"); |
| | | if(disable){ |
| | | buttonDTO.setLcstatus(FrameworkDataLCStatus.ENABLED.getValue()); |
| | | }else{ |
| | | buttonDTO.setLcstatus(FrameworkDataLCStatus.DISABLED.getValue()); |
| | | } |
| | | return SqlHelper.retBool(codeButtonMapper.updateById(buttonDTO))? |
| | | R.success(FrameworkDataLCStatus.ENABLED.getValue()):R.fail(FrameworkDataLCStatus.DISABLED.getValue()); |
| | | } |
| | | |
| | | // /** |
| | | // * æ ¡éªæ¯å¦å¯ä»¥å é¤ï¼å¦æåå¨ä¸çº§ï¼å¹¶ä¸ä¸çº§ææ°æ®å¼ç¨åä¸è½å é¤ |
| | | // * @param codeButtonDTO æ°æ®ä¼ è¾å¯¹è±¡ |
| | | // * @param codeButtonDO æ°æ®åºä¸çæ°æ®å¯¹è±¡ |
| | | // * @return success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | // */ |
| | | // private R checkIsCanDeleteForDO(CodeButtonEntity codeButtonDTO, CodeButtonVO codeButtonDO) { |
| | | // CodeButtonVO buttonDO = new CodeButtonVO(); |
| | | // BeanUtil.convert(codeButtonDTO,buttonDO); |
| | | // boService.checkTs(buttonDO); |
| | | // if(!checkIsLinked(codeButtonDO.getOid())) { |
| | | // return BaseResult.success(); |
| | | // }else{ |
| | | // return BaseResult.fail(DATA_LINKED_NOT_DELETE,new String[]{""}); |
| | | // } |
| | | // } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import com.vci.ubcs.code.mapper.CodeButtonMapper; |
| | | import com.vci.ubcs.code.vo.CodeKeyattrrepeatVO; |
| | | import com.vci.ubcs.code.mapper.CodeKeyattrrepeatMapper; |
| | | import com.vci.ubcs.code.service.ICodeKeyattrrepeatService; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å æå¡å®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @Service |
| | | public class CodeKeyattrrepeatServiceImpl implements ICodeKeyattrrepeatService { |
| | | |
| | | @Autowired |
| | | CodeKeyattrrepeatMapper codeKeyattrrepeatMapper; |
| | | |
| | | @Override |
| | | public IPage<CodeKeyattrrepeatVO> selectPlCodeKeyattrrepeatPage(IPage<CodeKeyattrrepeatVO> page, CodeKeyattrrepeatVO plCodeKeyattrrepeat) { |
| | | return page.setRecords(codeKeyattrrepeatMapper.selectPlCodeKeyattrrepeatPage(page, plCodeKeyattrrepeat)); |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.vci.ubcs.code.mapper.CodeSynonymMapper; |
| | | import com.vci.ubcs.code.service.ICodeSynonymService; |
| | | import com.vci.ubcs.code.vo.CodeSynonymVO; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ æå¡å®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | @Service |
| | | public class CodeSynonymServiceImpl implements ICodeSynonymService { |
| | | |
| | | @Resource |
| | | CodeSynonymMapper codeSynonymMapper; |
| | | |
| | | @Override |
| | | public IPage<CodeSynonymVO> selectPlCodeSynonymPage(IPage<CodeSynonymVO> page, CodeSynonymVO plCodeSynonym) { |
| | | return page.setRecords(codeSynonymMapper.selectPlCodeSynonymPage(page, plCodeSynonym)); |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | import com.alibaba.nacos.common.utils.StringUtils; |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.baomidou.mybatisplus.extension.toolkit.SqlHelper; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | import com.vci.ubcs.code.mapper.CodeClassifyMapper; |
| | | import com.vci.ubcs.code.service.ICodeClassifyService; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeClassifyVO; |
| | | import com.vci.ubcs.core.log.exception.ServiceException; |
| | | import jodd.bean.BeanUtil; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Service |
| | | public class ICodeClassifyServiceImpl extends ServiceImpl<CodeClassifyMapper, CodeClassify> implements ICodeClassifyService { |
| | |
| | | return codeClassifyMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public IPage<CodeClassifyVO> selectPlCodeClassifyPage(IPage<CodeClassifyVO> page, CodeClassifyVO plCodeClassify) { |
| | | return page.setRecords(codeClassifyMapper.selectPlCodeClassifyPage(page, plCodeClassify)); |
| | | } |
| | | |
| | | @Override |
| | | public R addSave(CodeClassify codeClassifyEntity) { |
| | | |
| | | if(StringUtils.isNotBlank(codeClassifyEntity.getParentCodeClassifyOid()) && StringUtils.isNotBlank(codeClassifyEntity.getBtmTypeId())){ |
| | | return R.fail("åªæå¨é¡¶å±ç主é¢åºåç±»æè½è®¾ç½®ä¸å¡ç±»å"); |
| | | } |
| | | codeClassifyEntity.setCreator(AuthUtil.getUser().getUserName()); |
| | | codeClassifyEntity.setCreateTime(new Date()); |
| | | codeClassifyEntity.setTs(new Date()); |
| | | codeClassifyEntity.setLastModifier(AuthUtil.getUser().getUserName()); |
| | | codeClassifyEntity.setLastModifyTime(new Date()); |
| | | int insertNumber = codeClassifyMapper.insert(codeClassifyEntity); |
| | | return R.status(SqlHelper.retBool(insertNumber)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸»é¢åºåç±» |
| | | * @param codeClassifyEntity 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ |
| | | * @return æ§è¡ç»æ |
| | | */ |
| | | @Override |
| | | public R editSave(CodeClassify codeClassifyEntity) { |
| | | if(codeClassifyEntity == null || codeClassifyEntity.getOid() == null){ |
| | | return R.fail("ä¼ å
¥æ°æ®ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | //æ£æ¥ts |
| | | Map<String,Object> condition = new HashMap<>(2); |
| | | condition.put("oid",codeClassifyEntity.getOid()); |
| | | condition.put("ts",codeClassifyEntity.getTs()); |
| | | CodeClassify detail = codeClassifyMapper |
| | | .selectOne(Condition.getQueryWrapper(condition,CodeClassify.class)); |
| | | if(detail == null){//䏿¯ææ°çä¸è®©æ¹ |
| | | return R.fail("å½åæ°æ®ä¸æ¯ææ°ï¼è¯·å·æ°ååä¿®æ¹ï¼"); |
| | | } |
| | | |
| | | if(StringUtils.isNotBlank(codeClassifyEntity.getParentCodeClassifyOid()) && StringUtils.isNotBlank(codeClassifyEntity.getBtmTypeId())){ |
| | | return R.fail("åªæå¨é¡¶å±ç主é¢åºåç±»æè½è®¾ç½®ä¸å¡ç±»å"); |
| | | } |
| | | codeClassifyEntity.setLastModifier(AuthUtil.getUser().getUserName()); |
| | | codeClassifyEntity.setLastModifyTime(new Date()); |
| | | int insertNumber = codeClassifyMapper.updateById(codeClassifyEntity); |
| | | |
| | | // //å¤çæ°æ®éæé»è¾,æååæ§è¡éæç¬¬ä¸æ¥,åç±»æ°æ®ç¹æ®å¤çãåªæå¯ç¨ç¶æçåç±»ææ¨é |
| | | // if(FRAMEWORK_DATA_ENABLED.equals(codeClassifyDO.getLcStatus())); |
| | | // { |
| | | // codeDuckingServiceI.insertCache1(CACHE_TYPE_CLASSIFY_EDIT,FRAMEWORK_DATA_ENABLED,DOCKING_DEFAULT_CLASSIFY, DOCKING_DEFAULT_CLASSIFYOID, codeClassifyDO.getOid(), codeClassifyDTO.getTs()); |
| | | // } |
| | | return R.status(SqlHelper.retBool(insertNumber)); |
| | | // return BaseResult.success(codeClassifyDO2VO(codeClassifyDO)); |
| | | } |
| | | |
| | | /** |
| | | * æ£æ¥ 主é¢åºåç±»æ¯å¦å é¤ |
| | | * @param codeClassifyEntity 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ï¼å¿
é¡»è¦æoidåts屿§ |
| | | * @return æ§è¡ç»æ success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | */ |
| | | @Override |
| | | public R checkIsCanDelete(CodeClassify codeClassifyEntity) { |
| | | if(codeClassifyEntity == null || codeClassifyEntity.getOid() == null){ |
| | | return R.fail("ä¼ å
¥æ°æ®ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | codeClassifyEntity = selectByOid(codeClassifyEntity.getOid()); |
| | | return checkIsCanDeleteForDO(codeClassifyEntity); |
| | | } |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢æ°æ®å¯¹è±¡ |
| | | * @param oid ä¸»é® |
| | | * @return æ°æ®å¯¹è±¡ |
| | | */ |
| | | private CodeClassify selectByOid(String oid){ |
| | | |
| | | CodeClassify codeClassifyEntity = codeClassifyMapper.selectById(oid.trim()); |
| | | if(codeClassifyEntity == null || StringUtils.isBlank(codeClassifyEntity.getOid())){ |
| | | throw new ServiceException("dataOidNotExist");//æ ¹æ®ä¸»é®idæªæ¥å°ç¸å
³æ°æ® |
| | | } |
| | | return codeClassifyEntity; |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦å¯ä»¥å é¤ï¼å¦æåå¨ä¸çº§ï¼å¹¶ä¸ä¸çº§ææ°æ®å¼ç¨åä¸è½å é¤ |
| | | * @param codeClassifyEntity æ°æ®åºä¸çæ°æ®å¯¹è±¡ |
| | | * @return success为true为å¯ä»¥å é¤ï¼falseè¡¨ç¤ºææ°æ®å¼ç¨ï¼obj为true表示æä¸çº§ |
| | | */ |
| | | private R checkIsCanDeleteForDO(CodeClassify codeClassifyEntity) { |
| | | |
| | | //æ£æ¥ts |
| | | Map<String,Object> condition = new HashMap<>(2); |
| | | condition.put("oid",codeClassifyEntity.getOid()); |
| | | condition.put("ts",codeClassifyEntity.getTs()); |
| | | CodeClassify detail = codeClassifyMapper |
| | | .selectOne(Condition.getQueryWrapper(condition,CodeClassify.class)); |
| | | if(detail == null){//䏿¯ææ°çä¸è®©æ¹ |
| | | throw new ServiceException("å½åæ°æ®ä¸æ¯ææ°ï¼è¯·å·æ°ååä¿®æ¹ï¼"); |
| | | // return R.fail("å½åæ°æ®ä¸æ¯ææ°ï¼è¯·å·æ°ååä¿®æ¹ï¼"); |
| | | } |
| | | //æ ¡éªä¸çº§æ¯å¦æå¼ç¨ |
| | | if(checkChildIsLinked(detail.getOid())){ |
| | | return R.fail("dataCascadeLinkedNotDelete"); |
| | | } |
| | | return R.data(checkHasChild(detail.getOid())); |
| | | } |
| | | |
| | | /** |
| | | * æ£æ¥æ¯å¦æä¸çº§æ¯å¦å
³èäºæ°æ® |
| | | * |
| | | * @param oid ä¸»é® |
| | | * @return true 表示æå¼ç¨ï¼false表示没æå¼ç¨ |
| | | */ |
| | | @Override |
| | | public boolean checkChildIsLinked(String oid) { |
| | | |
| | | Map<String,String> childOids = codeClassifyMapper.selectAllLevelChildOid(oid.trim()); |
| | | if(!CollectionUtils.isEmpty(childOids)){ |
| | | for(String childOid: childOids.keySet()){ |
| | | if(!checkIsLinked(childOid)){ |
| | | return false; |
| | | } |
| | | } |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * æ ¡éªæ¯å¦è¢«å¼ç¨ |
| | | * @param oid ä¸»é® |
| | | */ |
| | | private boolean checkIsLinked(String oid) { |
| | | //TODO æ·»å éè¦æ ¡éªå¼ç¨çå°æ¹ |
| | | return false; |
| | | } |
| | | |
| | | @Override |
| | | public boolean checkHasChild(String oid) { |
| | | if(StringUtils.isBlank(oid)){ |
| | | throw new ServiceException("oidä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | return codeClassifyMapper.checkHasChild(oid.trim()); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å é¤ä¸»é¢åºåç±» |
| | | * @param codeClassify 主é¢åºåç±»æ°æ®ä¼ è¾å¯¹è±¡ï¼oidåtséè¦ä¼ è¾ |
| | | * @return å é¤ç»æåé¦ï¼ï¼successï¼æåï¼failï¼å¤±è´¥ |
| | | */ |
| | | @Override |
| | | public R deleteCodeClassify(CodeClassify codeClassify) { |
| | | |
| | | if(codeClassify == null || codeClassify.getOid() == null){ |
| | | throw new ServiceException("ä¼ å
¥åæ°ä¸è½ä¸ºç©ºï¼"); |
| | | } |
| | | codeClassify = codeClassifyMapper.selectById(codeClassify.getOid()); |
| | | |
| | | R result = checkIsCanDeleteForDO(codeClassify); |
| | | |
| | | //å
ç®ç§°æ¯å¦æå
³è模æ¿ï¼ææ¨¡æ¿è¦å
å é¤ |
| | | // VciQueryWrapperForDO queryWrapper = new VciQueryWrapperForDO(CodeClassifyTemplateDO.class); |
| | | // queryWrapper.addQueryMap("codeClassifyOid",codeClassifyDTO.getOid()); |
| | | // List<CodeClassifyTemplateDO> codeClassifyTemplateDOListHaveTemplate = codeClassifyTemplateMapper.selectByWrapper(queryWrapper); |
| | | // if(codeClassifyTemplateDOListHaveTemplate.size()>0){ |
| | | // return BaseResult.fail("åç±»å
³è模æ¿ï¼è¯·å
å é¤!"); |
| | | // } |
| | | // |
| | | // //å¤çæ°æ®éæé»è¾,æååæ§è¡éæç¬¬ä¸æ¥,åç±»æ°æ®ç¹æ®å¤çã |
| | | // //1ãæ¥è¯¢è¦å é¤çç¶ç±»æ°æ® |
| | | // List<CodeClassifyDO> deletes = new ArrayList<CodeClassifyDO>(); |
| | | // deletes.add(codeClassifyDO); |
| | | // |
| | | // if(result.isSuccess()) { |
| | | // //æ¾ä¸çº§çï¼è¿ä¸ªæ¯å¯ä»¥å é¤çæ¶å |
| | | // Map<String,String> childrenOids = codeClassifyMapper.selectAllLevelChildOid(codeClassifyDO.getOid().trim()); |
| | | // if (!CollectionUtils.isEmpty(childrenOids)) { |
| | | // Collection<Collection<String>> childrenCollections = VciBaseUtil.switchCollectionForOracleIn(childrenOids.keySet()); |
| | | // for(Collection<String> s : childrenCollections){ |
| | | // |
| | | // //å¤çæ°æ®éæé»è¾,æååæ§è¡éæç¬¬ä¸æ¥,åç±»æ°æ®ç¹æ®å¤çã |
| | | // //2ãæ¥è¯¢è¦å é¤çåç±»æ°æ® |
| | | // List<CodeClassifyDO> codeClassifyDOList = codeClassifyMapper.selectByPrimaryKeyCollection(s); |
| | | // deletes.addAll(codeClassifyDOList); |
| | | // |
| | | // codeClassifyMapper.batchDeleteByOids(s); |
| | | // } |
| | | // |
| | | // } |
| | | // }else{ |
| | | // return baseResult; |
| | | // } |
| | | // |
| | | // //æ§è¡å é¤æä½ |
| | | // BatchCBO batchCBO = codeClassifyMapper.deleteByPrimaryKey(codeClassifyDO.getOid()); |
| | | // |
| | | // //å¤çæ°æ®éæé»è¾,æååæ§è¡éæç¬¬ä¸æ¥ |
| | | // for (CodeClassifyDO codeClassifyDO1:deletes){ |
| | | // //codeDuckingServiceI.insertCache1(CACHE_TYPE_CLASSIFY_DELETE,FRAMEWORK_DATA_DISABLED,DOCKING_DEFAULT_CLASSIFY, DOCKING_DEFAULT_CLASSIFYOID, codeClassifyDO1.getOid(), DateUtils.addHours(new Date(),1));//è¿éæ¯å½åæ¶é´ |
| | | // |
| | | // //åå¨è¦å é¤çæ°æ® |
| | | // codeDuckingServiceI.cacheDeleteData(codeClassifyDO1.getOid(), codeClassifyDO1); |
| | | // } |
| | | // return (batchCBO!=null && batchCBO.getDeleteCbos() !=null &&batchCBO.getDeleteCbos().size() > 0)?BaseResult.successMsg(DELETE_SUCCESS):BaseResult.fail(DELETE_FAIL); |
| | | return null; |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeButtonEntity; |
| | | import com.vci.ubcs.code.vo.CodeButtonVO; |
| | | import com.vci.ubcs.system.cache.DictCache; |
| | | import com.vci.ubcs.system.enums.DictEnum; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springframework.boot.autoconfigure.security.SecurityProperties; |
| | | |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * æ¨¡æ¿æ©å±æ± å
è£
ç±»,è¿åè§å¾å±æéçåæ®µ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-03-29 |
| | | */ |
| | | public class CodeButtonWrapper extends BaseEntityWrapper<CodeButtonEntity, CodeButtonVO> { |
| | | |
| | | public static CodeButtonWrapper build() { |
| | | return new CodeButtonWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodeButtonVO entityVO(CodeButtonEntity codebutton) { |
| | | CodeButtonVO codebuttonVO = Objects.requireNonNull(BeanUtil.copy(codebutton, CodeButtonVO.class)); |
| | | codebuttonVO.setUsedpositiontypeName(DictCache.getValue("codeButtonPosition", codebutton.getUsedpositiontype())); |
| | | codebuttonVO.setLcstatusName(DictCache.getValue("codeLcstatus", codebutton.getLcstatus())); |
| | | return codebuttonVO; |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeSynonymEntity; |
| | | import com.vci.ubcs.code.vo.CodeSynonymVO; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * è¿ä¹è¯ç»´æ¤ å
è£
ç±»,è¿åè§å¾å±æéçåæ®µ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-04 |
| | | */ |
| | | public class CodeSynonymWrapper extends BaseEntityWrapper<CodeSynonymEntity, CodeSynonymVO> { |
| | | |
| | | public static CodeSynonymWrapper build() { |
| | | return new CodeSynonymWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodeSynonymVO entityVO(CodeSynonymEntity plCodeSynonym) { |
| | | CodeSynonymVO plCodeSynonymVO = Objects.requireNonNull(BeanUtil.copy(plCodeSynonym, CodeSynonymVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(plCodeSynonym.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(plCodeSynonym.getUpdateUser()); |
| | | //plCodeSynonymVO.setCreateUserName(createUser.getName()); |
| | | //plCodeSynonymVO.setUpdateUserName(updateUser.getName()); |
| | | |
| | | return plCodeSynonymVO; |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* |
| | | * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
| | | * |
| | | * Redistribution and use in source and binary forms, with or without |
| | | * modification, are permitted provided that the following conditions are met: |
| | | * |
| | | * Redistributions of source code must retain the above copyright notice, |
| | | * this list of conditions and the following disclaimer. |
| | | * Redistributions in binary form must reproduce the above copyright |
| | | * notice, this list of conditions and the following disclaimer in the |
| | | * documentation and/or other materials provided with the distribution. |
| | | * Neither the name of the dreamlu.net developer nor the names of its |
| | | * contributors may be used to endorse or promote products derived from |
| | | * this software without specific prior written permission. |
| | | * Author: Chill åºéª (smallchill@163.com) |
| | | */ |
| | | package com.vci.ubcs.code.wrapper; |
| | | |
| | | import com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity; |
| | | import org.springblade.core.mp.support.BaseEntityWrapper; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import com.vci.ubcs.code.vo.CodeKeyattrrepeatVO; |
| | | import java.util.Objects; |
| | | |
| | | /** |
| | | * å
³é®å±æ§æ¥éè§å å
è£
ç±»,è¿åè§å¾å±æéçåæ®µ |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-03 |
| | | */ |
| | | public class PlCodeKeyattrrepeatWrapper extends BaseEntityWrapper<CodeKeyattrrepeatEntity, CodeKeyattrrepeatVO> { |
| | | |
| | | public static PlCodeKeyattrrepeatWrapper build() { |
| | | return new PlCodeKeyattrrepeatWrapper(); |
| | | } |
| | | |
| | | @Override |
| | | public CodeKeyattrrepeatVO entityVO(CodeKeyattrrepeatEntity plCodeKeyattrrepeat) { |
| | | CodeKeyattrrepeatVO codeKeyattrrepeatVO = Objects.requireNonNull(BeanUtil.copy(plCodeKeyattrrepeat, CodeKeyattrrepeatVO.class)); |
| | | |
| | | //User createUser = UserCache.getUser(plCodeKeyattrrepeat.getCreateUser()); |
| | | //User updateUser = UserCache.getUser(plCodeKeyattrrepeat.getUpdateUser()); |
| | | //plCodeKeyattrrepeatVO.setCreateUserName(createUser.getName()); |
| | | //plCodeKeyattrrepeatVO.setUpdateUserName(updateUser.getName()); |
| | | |
| | | return codeKeyattrrepeatVO; |
| | | } |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeButtonMapper"> |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="codebuttonResultMap" type="com.vci.ubcs.code.entity.CodeButtonEntity"> |
| | | <result column="OID" property="oid"/> |
| | | <result column="REVISIONOID" property="revisionoid"/> |
| | | <result column="NAMEOID" property="nameoid"/> |
| | | <result column="BTMNAME" property="btmname"/> |
| | | <result column="LASTR" property="lastr"/> |
| | | <result column="FIRSTR" property="firstr"/> |
| | | <result column="LASTV" property="lastv"/> |
| | | <result column="FIRSTV" property="firstv"/> |
| | | <result column="CREATOR" property="creator"/> |
| | | <result column="CREATETIME" property="createtime"/> |
| | | <result column="LASTMODIFIER" property="lastmodifier"/> |
| | | <result column="LASTMODIFYTIME" property="lastmodifytime"/> |
| | | <result column="REVISIONRULE" property="revisionrule"/> |
| | | <result column="VERSIONRULE" property="versionrule"/> |
| | | <result column="REVISIONSEQ" property="revisionseq"/> |
| | | <result column="REVISIONVALUE" property="revisionvalue"/> |
| | | <result column="VERSIONSEQ" property="versionseq"/> |
| | | <result column="VERSIONVALUE" property="versionvalue"/> |
| | | <result column="LCTID" property="lctid"/> |
| | | <result column="LCSTATUS" property="lcstatus"/> |
| | | <result column="TS" property="ts"/> |
| | | <result column="ID" property="id"/> |
| | | <result column="NAME" property="name"/> |
| | | <result column="DESCRIPTION" property="description"/> |
| | | <result column="OWNER" property="owner"/> |
| | | <result column="COPYFROMVERSION" property="copyfromversion"/> |
| | | <result column="ICONCLS" property="iconcls"/> |
| | | <result column="EXECUTEJS" property="executejs"/> |
| | | <result column="USEDPOSITIONTYPE" property="usedpositiontype"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectcodebuttonPage" resultMap="codebuttonResultMap"> |
| | | select * from PL_CODE_BUTTON where is_deleted = 0 |
| | | </select> |
| | | |
| | | |
| | | </mapper> |
| | |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeClassifyMapper"> |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="plCodeClassifyResultMap" type="com.vci.ubcs.code.entity.CodeClassify"> |
| | | <result column="OID" property="oid"/> |
| | | <result column="REVISIONOID" property="revisionOid"/> |
| | | <result column="NAMEOID" property="nameOid"/> |
| | | <result column="BTMNAME" property="btmname"/> |
| | | <result column="LASTR" property="lastR"/> |
| | | <result column="FIRSTR" property="firstR"/> |
| | | <result column="LASTV" property="lastV"/> |
| | | <result column="FIRSTV" property="firstV"/> |
| | | <result column="CREATOR" property="creator"/> |
| | | <result column="CREATETIME" property="createTime"/> |
| | | <result column="LASTMODIFIER" property="lastModifier"/> |
| | | <result column="LASTMODIFYTIME" property="lastModifyTime"/> |
| | | <result column="REVISIONRULE" property="revisionRule"/> |
| | | <result column="VERSIONRULE" property="versionRule"/> |
| | | <result column="REVISIONSEQ" property="revisionSeq"/> |
| | | <result column="REVISIONVALUE" property="revisionValue"/> |
| | | <result column="VERSIONSEQ" property="versionSeq"/> |
| | | <result column="VERSIONVALUE" property="versionValue"/> |
| | | <result column="LCTID" property="lctid"/> |
| | | <result column="LCSTATUS" property="lcStatus"/> |
| | | <result column="TS" property="ts"/> |
| | | <result column="ID" property="id"/> |
| | | <result column="NAME" property="name"/> |
| | | <result column="DESCRIPTION" property="description"/> |
| | | <result column="OWNER" property="owner"/> |
| | | <result column="COPYFROMVERSION" property="copyFromVersion"/> |
| | | <result column="PARENTCODECLASSIFYOID" property="parentCodeClassifyOid"/> |
| | | <result column="ORDERNUM" property="orderNum"/> |
| | | <result column="BTMTYPEID" property="btmTypeId"/> |
| | | <result column="BTMTYPENAME" property="btmTypeName"/> |
| | | <result column="CODERULEOID" property="codeRuleOid"/> |
| | | <result column="CODEKEYATTRREPEATOID" property="codeKeyAttrRepeatOid"/> |
| | | <result column="CODERESEMBLERULEOID" property="codeResembleRuleOid"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectPlCodeClassifyPage" resultMap="plCodeClassifyResultMap"> |
| | | select * from PL_CODE_CLASSIFY where is_deleted = 0 |
| | | </select> |
| | | |
| | | <select id="selectAllLevelChildOid" resultType="java.util.HashMap"> |
| | | select oid, level |
| | | from PL_CODE_CLASSIFY |
| | | START WITH parentCodeClassifyOid = #{oid}CONNECT BY |
| | | PRIOR OID = parentCodeClassifyOid |
| | | </select> |
| | | |
| | | <select id="checkHasChild" resultType="java.lang.Boolean"> |
| | | select count(oid) |
| | | from PL_CODE_CLASSIFY |
| | | where parentCodeClassifyOid = #{oid} |
| | | </select> |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeKeyattrrepeatMapper"> |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="plCodeKeyattrrepeatResultMap" type="com.vci.ubcs.code.entity.CodeKeyattrrepeatEntity"> |
| | | <result column="OID" property="oid"/> |
| | | <result column="REVISIONOID" property="revisionoid"/> |
| | | <result column="NAMEOID" property="nameoid"/> |
| | | <result column="BTMNAME" property="btmname"/> |
| | | <result column="LASTR" property="lastr"/> |
| | | <result column="FIRSTR" property="firstr"/> |
| | | <result column="LASTV" property="lastv"/> |
| | | <result column="FIRSTV" property="firstv"/> |
| | | <result column="CREATOR" property="creator"/> |
| | | <result column="CREATETIME" property="createtime"/> |
| | | <result column="LASTMODIFIER" property="lastmodifier"/> |
| | | <result column="LASTMODIFYTIME" property="lastmodifytime"/> |
| | | <result column="REVISIONRULE" property="revisionrule"/> |
| | | <result column="VERSIONRULE" property="versionrule"/> |
| | | <result column="REVISIONSEQ" property="revisionseq"/> |
| | | <result column="REVISIONVALUE" property="revisionvalue"/> |
| | | <result column="VERSIONSEQ" property="versionseq"/> |
| | | <result column="VERSIONVALUE" property="versionvalue"/> |
| | | <result column="LCTID" property="lctid"/> |
| | | <result column="LCSTATUS" property="lcstatus"/> |
| | | <result column="TS" property="ts"/> |
| | | <result column="ID" property="id"/> |
| | | <result column="NAME" property="name"/> |
| | | <result column="DESCRIPTION" property="description"/> |
| | | <result column="OWNER" property="owner"/> |
| | | <result column="COPYFROMVERSION" property="copyfromversion"/> |
| | | <result column="IGNORECASEFLAG" property="ignorecaseflag"/> |
| | | <result column="IGNORESPACEFLAG" property="ignorespaceflag"/> |
| | | <result column="IGNOREALLSPACEFLAG" property="ignoreallspaceflag"/> |
| | | <result column="IGNOREWIDTHFLAG" property="ignorewidthflag"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectPlCodeKeyattrrepeatPage" resultMap="plCodeKeyattrrepeatResultMap"> |
| | | select * from PL_CODE_KEYATTRREPEAT where is_deleted = 0 |
| | | </select> |
| | | |
| | | |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.vci.ubcs.code.mapper.CodeSynonymMapper"> |
| | | |
| | | <!-- éç¨æ¥è¯¢æ å°ç»æ --> |
| | | <resultMap id="plCodeSynonymResultMap" type="com.vci.ubcs.code.entity.CodeSynonymEntity"> |
| | | <result column="OID" property="oid"/> |
| | | <result column="REVISIONOID" property="revisionoid"/> |
| | | <result column="NAMEOID" property="nameoid"/> |
| | | <result column="BTMNAME" property="btmname"/> |
| | | <result column="LASTR" property="lastr"/> |
| | | <result column="FIRSTR" property="firstr"/> |
| | | <result column="LASTV" property="lastv"/> |
| | | <result column="FIRSTV" property="firstv"/> |
| | | <result column="CREATOR" property="creator"/> |
| | | <result column="CREATETIME" property="createtime"/> |
| | | <result column="LASTMODIFIER" property="lastmodifier"/> |
| | | <result column="LASTMODIFYTIME" property="lastmodifytime"/> |
| | | <result column="REVISIONRULE" property="revisionrule"/> |
| | | <result column="VERSIONRULE" property="versionrule"/> |
| | | <result column="REVISIONSEQ" property="revisionseq"/> |
| | | <result column="REVISIONVALUE" property="revisionvalue"/> |
| | | <result column="VERSIONSEQ" property="versionseq"/> |
| | | <result column="VERSIONVALUE" property="versionvalue"/> |
| | | <result column="LCTID" property="lctid"/> |
| | | <result column="LCSTATUS" property="lcstatus"/> |
| | | <result column="TS" property="ts"/> |
| | | <result column="ID" property="id"/> |
| | | <result column="NAME" property="name"/> |
| | | <result column="DESCRIPTION" property="description"/> |
| | | <result column="OWNER" property="owner"/> |
| | | <result column="COPYFROMVERSION" property="copyfromversion"/> |
| | | <result column="CODECLASSIFYTEMPLATEOID" property="codeclassifytemplateoid"/> |
| | | <result column="SOURCEVALUE" property="sourcevalue"/> |
| | | <result column="SYNONYMVALUE" property="synonymvalue"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectPlCodeSynonymPage" resultMap="plCodeSynonymResultMap"> |
| | | select * from PL_CODE_SYNONYM where is_deleted = 0 |
| | | </select> |
| | | |
| | | |
| | | </mapper> |