1、行政区保存功能,修改自动加上行政区级别,及删除标志
2、单点登录中增加了获得所有组织机构的功能,及增加组织机构枚举类型
3、增加农户实体、农户类型实体、分水口实体等相关功能
1 文件已重命名
16个文件已添加
11个文件已修改
New file |
| | |
| | | package com.dy.pipIrrGlobal.daoBa; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaClient; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | @Mapper |
| | | public interface BaClientMapper extends BaseMapper<BaClient> { |
| | | /** |
| | | * insert record to table |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insert(BaClient record); |
| | | |
| | | /** |
| | | * insert record to table selective |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insertSelective(BaClient record); |
| | | } |
New file |
| | |
| | | package com.dy.pipIrrGlobal.daoBa; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaClientType; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaRole; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Mapper |
| | | public interface BaClientTypeMapper extends BaseMapper<BaClientType> { |
| | | /** |
| | | * éè¿IDå¾å°ç±»ååç§° |
| | | * @param id |
| | | * @return |
| | | */ |
| | | String selectNameById(Long id) ; |
| | | |
| | | /** |
| | | * å¾å°å
¨é¨å®ä½ |
| | | * @return å
¨é¨å®ä½ |
| | | */ |
| | | List<BaClientType> selectAll() ; |
| | | |
| | | /** |
| | | * éè¿IDå¾å°å®ä½ |
| | | * @param id å®ä½ID |
| | | * @return å®ä½ |
| | | */ |
| | | BaClientType selectByPrimaryKey(Long id) ; |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢æ»æ° |
| | | * @param params æ¥è¯¢æ¡ä»¶ |
| | | * @return æ»æ° |
| | | */ |
| | | Long selectTotal(Map<?, ?> params) ; |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ä¸äº |
| | | * @param params æ¥è¯¢æ¡ä»¶ |
| | | * @return å®ä½éå |
| | | */ |
| | | List<BaClientType> selectSome(Map<?, ?> params) ; |
| | | |
| | | /** |
| | | * insert record to table |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insert(BaClientType record); |
| | | |
| | | /** |
| | | * insert record to table selective |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insertSelective(BaClientType record); |
| | | |
| | | /** |
| | | * update record selective |
| | | * @param record the updated record |
| | | * @return update count |
| | | */ |
| | | int updateByPrimaryKeySelective(BaClientType record); |
| | | |
| | | /** |
| | | * update record |
| | | * @param record the updated record |
| | | * @return update count |
| | | */ |
| | | int updateByPrimaryKey(BaClientType record); |
| | | |
| | | /** |
| | | * éè¿IDå é¤ |
| | | * @param id |
| | | */ |
| | | void deleteByPrimaryKey(Long id) ; |
| | | } |
New file |
| | |
| | | package com.dy.pipIrrGlobal.daoBa; |
| | | |
| | | import com.dy.pipIrrGlobal.pojoBa.BaDivide; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | @Mapper |
| | | public interface BaDivideMapper { |
| | | /** |
| | | * delete by primary key |
| | | * @param id primaryKey |
| | | * @return deleteCount |
| | | */ |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * insert record to table |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insert(BaDivide record); |
| | | |
| | | /** |
| | | * insert record to table selective |
| | | * @param record the record |
| | | * @return insert count |
| | | */ |
| | | int insertSelective(BaDivide record); |
| | | |
| | | /** |
| | | * select by primary key |
| | | * @param id primary key |
| | | * @return object by primary key |
| | | */ |
| | | BaDivide selectByPrimaryKey(Long id); |
| | | |
| | | /** |
| | | * update record selective |
| | | * @param record the updated record |
| | | * @return update count |
| | | */ |
| | | int updateByPrimaryKeySelective(BaDivide record); |
| | | |
| | | /** |
| | | * update record |
| | | * @param record the updated record |
| | | * @return update count |
| | | */ |
| | | int updateByPrimaryKey(BaDivide record); |
| | | } |
| | |
| | | */ |
| | | @Schema(description = "çåºåç§°", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "çåºåç§°ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "çåºåç§°ä¸å¤§äº{max}å符ï¼ä¸å°äº{min}å符", min = 1, max = 25) |
| | | @Length(message = "çåºåç§°ä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 25) |
| | | public String name; |
| | | |
| | | /** |
| | | * è´è´£äºº |
| | | */ |
| | | @Schema(description = "çåºè´è´£äºº", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "çåºè´è´£äººå§åä¸å¤§äº{max}å符ï¼ä¸å°äº{min}å符", min = 1, max = 25) |
| | | @Length(message = "çåºè´è´£äººå§åä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 25) |
| | | public String header; |
| | | |
| | | /** |
New file |
| | |
| | | package com.dy.pipIrrGlobal.pojoBa; |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.mybatis.envm.Deleted; |
| | | import com.dy.common.mybatis.envm.Disabled; |
| | | import com.dy.common.po.BaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import lombok.*; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | /** |
| | | * åæ·å®ä½ |
| | | */ |
| | | @TableName(value="ba_client", autoResultMap = true) |
| | | @Data |
| | | @Builder |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @Schema(name = "åæ·å®ä½") |
| | | public class BaClient implements BaseEntity { |
| | | |
| | | public static final long serialVersionUID = 202311141539001L; |
| | | |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @TableId(type = IdType.INPUT) |
| | | @Schema(description = "å®ä½id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Long id ; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåè¡æ¿åº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨å¿ID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨å¿ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long countyId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåè¡æ¿åº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨éID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨éä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long townId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåè¡æ¿åº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨æID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨æä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long villageId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåçåº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨çåºID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨çåºä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long blockId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æååæ°´æ¿ |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨åæ°´æ¿ID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨åæ°´æ¿ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long divideId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æååæ·ç±»å |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "åæ·ç±»åID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "åæ·ç±»åä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long typeId; |
| | | |
| | | /** |
| | | * å§å |
| | | */ |
| | | @Schema(description = "åæ·å§å", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "åæ·å§åä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "åæ·å§åä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 25) |
| | | public String name; |
| | | |
| | | /** |
| | | * ç¼å· |
| | | */ |
| | | @Schema(description = "åæ·ç¼å·(ç³»ç»èªå¨çæ)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Integer num; |
| | | |
| | | /** |
| | | * ææºå· |
| | | */ |
| | | @Schema(description = "åæ·ææºå·", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "åæ·ææºå·ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "åæ·ææºå·å¿
é¡»{max}使°æ®", min = 11, max = 11) |
| | | public String phone; |
| | | |
| | | /** |
| | | * 身份è¯å· |
| | | */ |
| | | @Schema(description = "åæ·èº«ä»½è¯å·", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "åæ·èº«ä»½è¯å·ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "åæ·èº«ä»½è¯å·å¿
é¡»{max}使°æ®", min = 18, max = 18) |
| | | public String idcard; |
| | | |
| | | /** |
| | | * ç§æ¤é¢ç§¯ |
| | | */ |
| | | @Schema(description = "åæ·ç§æ¤é¢ç§¯", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Double area; |
| | | |
| | | /** |
| | | * å¿åç§°+éåç§°+æåç§°ï¼ä¸å¯å¡«åï¼èªå¨çæ |
| | | */ |
| | | //@Schema(description = "å¿åç§°+éåç§°+æåç§°") |
| | | public String district; |
| | | |
| | | /** |
| | | * è¡é+é¨çå· |
| | | */ |
| | | @Schema(description = "è¡é+é¨çå·", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "å°åä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 50) |
| | | public String address; |
| | | |
| | | /** |
| | | * 夿³¨ |
| | | */ |
| | | @Schema(description = "夿³¨", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "夿³¨ä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 50) |
| | | public String remark; |
| | | |
| | | |
| | | /** |
| | | * æ¯å¦ç¦ç¨ 0:å¦,1:æ¯ |
| | | */ |
| | | @Schema(description = "æ¯å¦ç¦ç¨", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Max(message = "æ¯å¦ç¦ç¨åªè½0æ1", value = 1) |
| | | @Min(message = "æ¯å¦ç¦ç¨åªè½0æ1",value = 0) |
| | | public Disabled disabled; |
| | | |
| | | /** |
| | | * æ¯å¦å é¤: 0表示æªå é¤ 1表示å é¤. |
| | | */ |
| | | @Schema(description = "å 餿 è¯ï¼è¡¨åä¸ç¨å¡«å", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Deleted deleted; |
| | | |
| | | @TableField(exist = false) |
| | | @Schema(description = "æå¨çåºåç§°ï¼åªå¨æ¥è¯¢ä¸ææ") |
| | | public String blockName ; |
| | | |
| | | @TableField(exist = false) |
| | | @Schema(description = "æå±åæ·ç±»ååç§°ï¼åªå¨æ¥è¯¢ä¸ææ") |
| | | public String typeName ; |
| | | |
| | | } |
New file |
| | |
| | | package com.dy.pipIrrGlobal.pojoBa; |
| | | |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import lombok.*; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | /** |
| | | * åæ·ç±»åå®ä½ |
| | | */ |
| | | @TableName(value="ba_client", autoResultMap = true) |
| | | @Data |
| | | @Builder |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @Schema(name = "åæ·ç±»åå®ä½") |
| | | public class BaClientType implements BaseEntity { |
| | | |
| | | public static final long serialVersionUID = 202311141553001L; |
| | | |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @TableId(type = IdType.INPUT) |
| | | @Schema(description = "å®ä½id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Long id ; |
| | | |
| | | /** |
| | | * åæ·ç±»ååç§° |
| | | */ |
| | | @Schema(description = "åæ·ç±»ååç§°", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "åæ·ç±»ååç§°ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "åæ·ç±»ååç§°ä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 25) |
| | | public String name; |
| | | |
| | | } |
| | |
| | | */ |
| | | @Schema(description = "è¡æ¿åºåç§°", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "è¡æ¿åºåç§°ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "è¡æ¿åºåç§°ä¸å¤§äº{max}å符ï¼ä¸å°äº{min}å符", min = 1, max = 25) |
| | | @Length(message = "è¡æ¿åºåç§°ä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 25) |
| | | public String name; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * è¡æ¿åºçº§å« |
| | | */ |
| | | @Schema(description = "è¡æ¿åºçº§å«", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Schema(description = "è¡æ¿åºçº§å«", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @NotNull(message = "è¡æ¿åºçº§å«ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Max(message = "è¡æ¿åºçº§å«ä¸å¤§äº10", value = 10) |
| | | @Min(message = "è¡æ¿åºçº§å«ä¸å°äº0",value = 0) |
New file |
| | |
| | | package com.dy.pipIrrGlobal.pojoBa; |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import lombok.*; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | /** |
| | | * åæ°´å£å®ä½ |
| | | */ |
| | | @TableName(value="ba_divide", autoResultMap = true) |
| | | @Data |
| | | @Builder |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @Schema(name = "åæ°´å£å®ä½") |
| | | public class BaDivide implements BaseEntity { |
| | | |
| | | public static final long serialVersionUID = 202311141539001L; |
| | | |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @TableId(type = IdType.INPUT) |
| | | @Schema(description = "å®ä½id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Long id ; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåè¡æ¿åº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨å¿ID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨å¿ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long countyId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåè¡æ¿åº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨éID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨éä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long townId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåè¡æ¿åº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨æID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨æä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long villageId; |
| | | |
| | | /** |
| | | * å¤é®ï¼æåçåº |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @Schema(description = "æå¨çåºID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "æå¨çåºä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | public Long blockId; |
| | | |
| | | /** |
| | | * åæ°´å£åç§°æç¼å· |
| | | */ |
| | | @Schema(description = "åæ°´å£åç§°æç¼å·", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "åæ°´å£åç§°æç¼å·ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "åæ°´å£åç§°æç¼å·ä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 25) |
| | | public String name; |
| | | |
| | | /** |
| | | * è¦çæ |
| | | */ |
| | | @Schema(description = "åæ·ç¼å·(ç³»ç»èªå¨çæ)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public String villages; |
| | | |
| | | /** |
| | | * è¦çé¢ç§¯ï¼å¹³æ¹å
¬éï¼ |
| | | */ |
| | | @Schema(description = "è¦çé¢ç§¯ï¼å¹³æ¹å
¬éï¼", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Double area; |
| | | |
| | | /** |
| | | * è´è´£äºº |
| | | */ |
| | | @Schema(description = "è´è´£äºº", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "è´è´£äººä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 25) |
| | | public String header; |
| | | |
| | | /** |
| | | * èç³»çµè¯ |
| | | */ |
| | | @Schema(description = "èç³»çµè¯", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "èç³»çµè¯ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "èç³»çµè¯å¿
é¡»{max}使°æ®", min = 11, max = 11) |
| | | public String phone; |
| | | |
| | | /** |
| | | * ç»åº¦ |
| | | */ |
| | | @Schema(description = "ç»åº¦", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Double lng; |
| | | |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | @Schema(description = "纬度", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Double lat; |
| | | |
| | | /** |
| | | * 夿³¨ |
| | | */ |
| | | @Schema(description = "夿³¨", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "夿³¨ä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 1, max = 50) |
| | | public String remark; |
| | | |
| | | /** |
| | | * å 餿 å¿ |
| | | */ |
| | | @Schema(description = "å 餿 è¯ï¼è¡¨åä¸ç¨å¡«å", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Byte deleted; |
| | | |
| | | } |
| | |
| | | */ |
| | | @Schema(description = "åç§°", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "åç§°ä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "åç§°ä¸å¤§äº{max}å符ï¼ä¸å°äº{min}å符", min = 2, max = 25) |
| | | @Length(message = "åç§°ä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 2, max = 25) |
| | | public String name ; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Schema(description = "å§å", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotEmpty(message = "å§åä¸è½ä¸ºç©º") //ä¸è½ä¸ºç©ºä¹ä¸è½ä¸ºnull |
| | | @Length(message = "å§åä¸å¤§äº{max}å符ï¼ä¸å°äº{min}å符", min = 2, max = 25) |
| | | @Length(message = "å§åä¸å¤§äº{max}åï¼ä¸å°äº{min}å", min = 2, max = 25) |
| | | public String name; |
| | | |
| | | /** |
New file |
| | |
| | | package com.dy.pipIrrGlobal.util; |
| | | |
| | | |
| | | public enum Org { |
| | | |
| | | Ym("ym", "å
è°"), |
| | | Pj("pj", "çè§é") ; |
| | | |
| | | public String tag ; |
| | | public String name ; |
| | | |
| | | Org(String tag, String name){ |
| | | this.tag = tag ; |
| | | this.name = name ; |
| | | } |
| | | |
| | | public String getTag() { |
| | | return this.tag ; |
| | | } |
| | | |
| | | public String getName() { |
| | | return this.name ; |
| | | } |
| | | |
| | | public static Org get(String tag){ |
| | | if(tag.equals(Ym.tag)){ |
| | | return Ym ; |
| | | }else if(tag.equals(Pj.tag)){ |
| | | return Pj ; |
| | | } |
| | | return null ; |
| | | } |
| | | } |
New file |
| | |
| | | <?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.dy.pipIrrGlobal.daoBa.BaClientMapper"> |
| | | <resultMap id="BaseResultMap" type="com.dy.pipIrrGlobal.pojoBa.BaClient"> |
| | | <!--@mbg.generated--> |
| | | <!--@Table ba_client--> |
| | | <result column="id" jdbcType="BIGINT" property="id" /> |
| | | <result column="countyId" jdbcType="BIGINT" property="countyId" /> |
| | | <result column="townId" jdbcType="BIGINT" property="townId" /> |
| | | <result column="villageId" jdbcType="BIGINT" property="villageId" /> |
| | | <result column="blockId" jdbcType="BIGINT" property="blockId" /> |
| | | <result column="divideId" jdbcType="BIGINT" property="divideId" /> |
| | | <result column="typeId" jdbcType="BIGINT" property="typeId" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="num" jdbcType="INTEGER" property="num" /> |
| | | <result column="phone" jdbcType="VARCHAR" property="phone" /> |
| | | <result column="idCard" jdbcType="VARCHAR" property="idcard" /> |
| | | <result column="area" jdbcType="FLOAT" property="area" /> |
| | | <result column="district" jdbcType="VARCHAR" property="district" /> |
| | | <result column="address" jdbcType="VARCHAR" property="address" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="disabled" jdbcType="TINYINT" property="disabled" /> |
| | | <result column="deleted" jdbcType="TINYINT" property="deleted" /> |
| | | </resultMap> |
| | | <sql id="Base_Column_List"> |
| | | <!--@mbg.generated--> |
| | | id, countyId, townId, villageId, blockId, divideId, typeId, `name`, num, phone, idCard, area, district,address, remark, |
| | | disabled, deleted |
| | | </sql> |
| | | <sql id="part_Column_List"> |
| | | <!--@mbg.generated--> |
| | | id, countyId, townId, villageId, blockId, divideId, typeId, `name`, num, phone, idCard, area, district,address, remark, |
| | | disabled |
| | | </sql> |
| | | |
| | | <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClient"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_client (id, countyId, townId, villageId, blockId, divideId, |
| | | typeId, `name`, num, phone, |
| | | idCard, area, district, address, |
| | | remark, disabled, deleted |
| | | ) |
| | | values (#{id,jdbcType=BIGINT}, #{countyId,jdbcType=BIGINT}, |
| | | #{townId,jdbcType=BIGINT}, #{villageId,jdbcType=BIGINT}, |
| | | #{blockId,jdbcType=BIGINT}, #{divideId,jdbcType=BIGINT}, #{typeId,jdbcType=BIGINT}, |
| | | #{name,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER}, |
| | | #{phone,jdbcType=VARCHAR}, #{idcard,jdbcType=VARCHAR}, |
| | | #{area,jdbcType=FLOAT}, #{district,jdbcType=VARCHAR}, |
| | | #{address,jdbcType=VARCHAR},#{remark,jdbcType=VARCHAR}, |
| | | #{disabled,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, |
| | | #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClient"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_client |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="countyId != null"> |
| | | countyId, |
| | | </if> |
| | | <if test="townId != null"> |
| | | townId, |
| | | </if> |
| | | <if test="villageId != null"> |
| | | villageId, |
| | | </if> |
| | | <if test="divideId != null"> |
| | | divideId, |
| | | </if> |
| | | <if test="blockId != null"> |
| | | blockId, |
| | | </if> |
| | | <if test="typeId != null"> |
| | | typeId, |
| | | </if> |
| | | <if test="name != null"> |
| | | `name`, |
| | | </if> |
| | | <if test="num != null"> |
| | | num, |
| | | </if> |
| | | <if test="phone != null"> |
| | | phone, |
| | | </if> |
| | | <if test="idcard != null"> |
| | | idCard, |
| | | </if> |
| | | <if test="area != null"> |
| | | area, |
| | | </if> |
| | | <if test="district != null"> |
| | | district, |
| | | </if> |
| | | <if test="address != null"> |
| | | address, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="disabled != null"> |
| | | disabled, |
| | | </if> |
| | | <if test="deleted != null"> |
| | | deleted, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="countyId != null"> |
| | | #{countyId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="townId != null"> |
| | | #{townId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="villageId != null"> |
| | | #{villageId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="divideId != null"> |
| | | #{divideId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="blockId != null"> |
| | | #{blockId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="typeId != null"> |
| | | #{typeId,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="num != null"> |
| | | #{num,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="phone != null"> |
| | | #{phone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="idcard != null"> |
| | | #{idcard,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="area != null"> |
| | | #{area,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="district != null"> |
| | | #{district,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="disabled != null"> |
| | | #{disabled,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, |
| | | </if> |
| | | <if test="deleted != null"> |
| | | #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | </mapper> |
New file |
| | |
| | | <?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.dy.pipIrrGlobal.daoBa.BaClientTypeMapper"> |
| | | <resultMap id="BaseResultMap" type="com.dy.pipIrrGlobal.pojoBa.BaClientType"> |
| | | <!--@mbg.generated--> |
| | | <!--@Table ba_client_type--> |
| | | <result column="id" jdbcType="BIGINT" property="id" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | </resultMap> |
| | | <sql id="Base_Column_List"> |
| | | <!--@mbg.generated--> |
| | | id, `name` |
| | | </sql> |
| | | |
| | | <select id="selectNameById" parameterType="long" resultType="string"> |
| | | select name |
| | | from ba_client_type |
| | | where id=#{id, jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <select id="selectAll" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from ba_client_type |
| | | </select> |
| | | |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | | <!--@mbg.generated--> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from ba_client_type |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | |
| | | <select id="selectTotal" parameterType="java.util.Map" resultType="java.lang.Long"> |
| | | select |
| | | count(*) |
| | | from ba_client_type |
| | | <trim prefix="where" suffixOverrides="and"> |
| | | <if test="name != null"> |
| | | name like concat('%', #{name}, '%') |
| | | </if> |
| | | </trim> |
| | | </select> |
| | | |
| | | <select id="selectSome" parameterType="java.util.Map" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from ba_client_type |
| | | <trim prefix="where" suffixOverrides="and"> |
| | | <if test="name != null"> |
| | | name like concat('%', #{name}, '%') |
| | | </if> |
| | | </trim> |
| | | order by id DESC |
| | | <trim prefix="limit " > |
| | | <if test="start != null and count != null"> |
| | | #{start}, #{count} |
| | | </if> |
| | | </trim> |
| | | </select> |
| | | |
| | | <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_client_type (id, `name`) |
| | | values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}) |
| | | </insert> |
| | | |
| | | <insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_client_type |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="name != null"> |
| | | `name`, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType"> |
| | | update ba_role |
| | | <set> |
| | | <if test="name != null"> |
| | | `name` = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | |
| | | <update id="updateByPrimaryKey" parameterType="com.dy.pipIrrGlobal.pojoBa.BaClientType"> |
| | | update ba_role |
| | | set `name` = #{name,jdbcType=VARCHAR}, |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | |
| | | |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| | | <!--@mbg.generated--> |
| | | delete from ba_client_type |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | |
| | | </mapper> |
New file |
| | |
| | | <?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.dy.pipIrrGlobal.daoBa.BaDivideMapper"> |
| | | <resultMap id="BaseResultMap" type="com.dy.pipIrrGlobal.pojoBa.BaDivide"> |
| | | <!--@mbg.generated--> |
| | | <!--@Table ba_divide--> |
| | | <id column="id" jdbcType="BIGINT" property="id" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="countyId" jdbcType="BIGINT" property="countyid" /> |
| | | <result column="townId" jdbcType="BIGINT" property="townid" /> |
| | | <result column="villageId" jdbcType="BIGINT" property="villageid" /> |
| | | <result column="blockId" jdbcType="BIGINT" property="blockid" /> |
| | | <result column="villages" jdbcType="VARCHAR" property="villages" /> |
| | | <result column="area" jdbcType="FLOAT" property="area" /> |
| | | <result column="header" jdbcType="VARCHAR" property="header" /> |
| | | <result column="phone" jdbcType="VARCHAR" property="phone" /> |
| | | <result column="lng" jdbcType="DOUBLE" property="lng" /> |
| | | <result column="lat" jdbcType="DOUBLE" property="lat" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="deleted" jdbcType="TINYINT" property="deleted" /> |
| | | </resultMap> |
| | | <sql id="Base_Column_List"> |
| | | <!--@mbg.generated--> |
| | | id, `name`, countyId, townId, villageId, blockId, villages, area, `header`, phone, |
| | | lng, lat, remark, deleted |
| | | </sql> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | | <!--@mbg.generated--> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from ba_divide |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
| | | <!--@mbg.generated--> |
| | | delete from ba_divide |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDivide"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_divide (id, `name`, countyId, |
| | | townId, villageId, blockId, |
| | | villages, area, `header`, |
| | | phone, lng, lat, remark, |
| | | deleted) |
| | | values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{countyid,jdbcType=BIGINT}, |
| | | #{townid,jdbcType=BIGINT}, #{villageid,jdbcType=BIGINT}, #{blockid,jdbcType=BIGINT}, |
| | | #{villages,jdbcType=VARCHAR}, #{area,jdbcType=FLOAT}, #{header,jdbcType=VARCHAR}, |
| | | #{phone,jdbcType=VARCHAR}, #{lng,jdbcType=DOUBLE}, #{lat,jdbcType=DOUBLE}, #{remark,jdbcType=VARCHAR}, |
| | | #{deleted,jdbcType=TINYINT}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDivide"> |
| | | <!--@mbg.generated--> |
| | | insert into ba_divide |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="name != null"> |
| | | `name`, |
| | | </if> |
| | | <if test="countyid != null"> |
| | | countyId, |
| | | </if> |
| | | <if test="townid != null"> |
| | | townId, |
| | | </if> |
| | | <if test="villageid != null"> |
| | | villageId, |
| | | </if> |
| | | <if test="blockid != null"> |
| | | blockId, |
| | | </if> |
| | | <if test="villages != null"> |
| | | villages, |
| | | </if> |
| | | <if test="area != null"> |
| | | area, |
| | | </if> |
| | | <if test="header != null"> |
| | | `header`, |
| | | </if> |
| | | <if test="phone != null"> |
| | | phone, |
| | | </if> |
| | | <if test="lng != null"> |
| | | lng, |
| | | </if> |
| | | <if test="lat != null"> |
| | | lat, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="deleted != null"> |
| | | deleted, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="countyid != null"> |
| | | #{countyid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="townid != null"> |
| | | #{townid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="villageid != null"> |
| | | #{villageid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="blockid != null"> |
| | | #{blockid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="villages != null"> |
| | | #{villages,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="area != null"> |
| | | #{area,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="header != null"> |
| | | #{header,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="phone != null"> |
| | | #{phone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="lng != null"> |
| | | #{lng,jdbcType=DOUBLE}, |
| | | </if> |
| | | <if test="lat != null"> |
| | | #{lat,jdbcType=DOUBLE}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deleted != null"> |
| | | #{deleted,jdbcType=TINYINT}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDivide"> |
| | | <!--@mbg.generated--> |
| | | update ba_divide |
| | | <set> |
| | | <if test="name != null"> |
| | | `name` = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="countyid != null"> |
| | | countyId = #{countyid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="townid != null"> |
| | | townId = #{townid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="villageid != null"> |
| | | villageId = #{villageid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="blockid != null"> |
| | | blockId = #{blockid,jdbcType=BIGINT}, |
| | | </if> |
| | | <if test="villages != null"> |
| | | villages = #{villages,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="area != null"> |
| | | area = #{area,jdbcType=FLOAT}, |
| | | </if> |
| | | <if test="header != null"> |
| | | `header` = #{header,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="phone != null"> |
| | | phone = #{phone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="lng != null"> |
| | | lng = #{lng,jdbcType=DOUBLE}, |
| | | </if> |
| | | <if test="lat != null"> |
| | | lat = #{lat,jdbcType=DOUBLE}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deleted != null"> |
| | | deleted = #{deleted,jdbcType=TINYINT}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.dy.pipIrrGlobal.pojoBa.BaDivide"> |
| | | <!--@mbg.generated--> |
| | | update ba_divide |
| | | set `name` = #{name,jdbcType=VARCHAR}, |
| | | countyId = #{countyid,jdbcType=BIGINT}, |
| | | townId = #{townid,jdbcType=BIGINT}, |
| | | villageId = #{villageid,jdbcType=BIGINT}, |
| | | blockId = #{blockid,jdbcType=BIGINT}, |
| | | villages = #{villages,jdbcType=VARCHAR}, |
| | | area = #{area,jdbcType=FLOAT}, |
| | | `header` = #{header,jdbcType=VARCHAR}, |
| | | phone = #{phone,jdbcType=VARCHAR}, |
| | | lng = #{lng,jdbcType=DOUBLE}, |
| | | lat = #{lat,jdbcType=DOUBLE}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | deleted = #{deleted,jdbcType=TINYINT} |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | </mapper> |
| | |
| | | </insert> |
| | | |
| | | |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaUser"> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.dy.pipIrrGlobal.pojoBa.BaRole"> |
| | | update ba_role |
| | | <set> |
| | | <if test="name != null"> |
| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | |
| | | <update id="updateByPrimaryKey" parameterType="com.dy.pipIrrGlobal.pojoBa.BaUser"> |
| | | <update id="updateByPrimaryKey" parameterType="com.dy.pipIrrGlobal.pojoBa.BaRole"> |
| | | update ba_role |
| | | set `name` = #{name,jdbcType=VARCHAR}, |
| | | deleted = #{deleted,typeHandler=com.dy.common.mybatis.envm.EnumCodeTypeHandler, jdbcType=TINYINT} |
New file |
| | |
| | | package com.dy.pipIrrBase.client; |
| | | |
| | | public class ClientCtrl { |
| | | } |
New file |
| | |
| | | package com.dy.pipIrrBase.client; |
| | | |
| | | public class ClientSv { |
| | | } |
New file |
| | |
| | | package com.dy.pipIrrBase.client; |
| | | |
| | | |
| | | import com.dy.common.webUtil.QueryConditionVo; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ToString(callSuper = true) |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @Builder |
| | | @Schema(name = "åæ·æ¥è¯¢æ¡ä»¶") |
| | | public class QueryVo extends QueryConditionVo { |
| | | |
| | | public Long countyId ; |
| | | public Long townId ; |
| | | public Long villageId ; |
| | | |
| | | |
| | | @Schema(description = "åæ·å§å") |
| | | public String name; |
| | | |
| | | @Schema(description = "åæ·ç¼å·") |
| | | public String num; |
| | | |
| | | @Schema(description = "åæ·çµè¯") |
| | | public String phone; |
| | | } |
| | | |
New file |
| | |
| | | package com.dy.pipIrrBase.clientType; |
| | | |
| | | |
| | | import com.dy.common.aop.SsoAop; |
| | | import com.dy.common.mybatis.envm.Deleted; |
| | | import com.dy.common.webUtil.BaseResponse; |
| | | import com.dy.common.webUtil.BaseResponseUtils; |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.common.webUtil.ResultCodeMsg; |
| | | import com.dy.pipIrrBase.role.RoleSv; |
| | | import com.dy.pipIrrBase.user.QueryVo; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaClientType; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaClientType; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.Parameter; |
| | | import io.swagger.v3.oas.annotations.media.Content; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import io.swagger.v3.oas.annotations.responses.ApiResponse; |
| | | import io.swagger.v3.oas.annotations.responses.ApiResponses; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import jakarta.validation.Valid; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.validation.BindingResult; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | |
| | | @Slf4j |
| | | @Tag(name = "åæ·ç±»å管ç", description = "åæ·ç±»åå¢å æ¹æ¥çæä½") |
| | | @RestController |
| | | @RequestMapping(path="role") |
| | | @SuppressWarnings("unchecked")//javaçæ¬è¶é«ï¼å¯¹æ³å约æè¶ä¸¥ï¼æä»¥é
ç½®SuppressWarnings("unchecked") |
| | | public class ClientTypeCtrl { |
| | | |
| | | private ClientTypeSv sv ; |
| | | |
| | | @Autowired |
| | | private void setSv(ClientTypeSv sv){ |
| | | this.sv = sv ; |
| | | } |
| | | |
| | | /** |
| | | * 客æ·ç«¯è¯·æ±å¾å°ææåæ·ç±»åæ°æ® |
| | | * @return ææåæ·ç±»åæ°æ® |
| | | */ |
| | | @Operation(summary = "è·å¾å
¨é¨åæ·ç±»å", description = "è¿åå
¨é¨åæ·ç±»åæ°æ®") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | | responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE, |
| | | description = "è¿åå
¨é¨åæ·ç±»åæ°æ®ï¼BaseResponse.content:QueryResultVo[{}]ï¼", |
| | | content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
| | | schema = @Schema(implementation = BaClientType.class))} |
| | | ) |
| | | }) |
| | | @GetMapping(path = "all") |
| | | @SsoAop("-1") |
| | | public BaseResponse<QueryResultVo<List<BaClientType>>> all(){ |
| | | try { |
| | | QueryResultVo<List<BaClientType>> res = this.sv.selectAll() ; |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } catch (Exception e) { |
| | | log.error("æ¥è¯¢åæ·ç±»åå¼å¸¸", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 客æ·ç«¯è¯·æ±å¾å°ä¸é¡µåæ·ç±»åæ°æ® |
| | | * @return ææåæ·ç±»åæ°æ® |
| | | */ |
| | | @Operation(summary = "è·å¾ä¸é¡µåæ·ç±»å", description = "è¿åä¸é¡µåæ·ç±»åæ°æ®") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | | responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE, |
| | | description = "è¿åä¸é¡µåæ·ç±»åæ°æ®ï¼BaseResponse.content:QueryResultVo[{}]ï¼", |
| | | content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
| | | schema = @Schema(implementation = BaClientType.class))} |
| | | ) |
| | | }) |
| | | @PostMapping(path = "some", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | @SsoAop("-1") |
| | | public BaseResponse<QueryResultVo<List<BaClientType>>> some(@Parameter(description = "æ¥è¯¢formè¡¨åæ°æ®", required = true) @Valid QueryVo vo){ |
| | | try { |
| | | QueryResultVo<List<BaClientType>> res = this.sv.selectSome(vo) ; |
| | | return BaseResponseUtils.buildSuccess(res); |
| | | } catch (Exception e) { |
| | | log.error("æ¥è¯¢åæ·ç±»åå¼å¸¸", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * å¾å°ä¸ä¸ªåæ·ç±»åæ°æ® |
| | | * @return ä¸ä¸ªåæ·ç±»åæ°æ® |
| | | */ |
| | | @Operation(summary = "ä¸ä¸ªåæ·ç±»å", description = "å¾å°ä¸ä¸ªåæ·ç±»åæ°æ®") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | | responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE, |
| | | description = "è¿åä¸ä¸ªåæ·ç±»åæ°æ®ï¼BaseResponse.content:{}ï¼", |
| | | content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
| | | schema = @Schema(implementation = BaClientType.class))} |
| | | ) |
| | | }) |
| | | @GetMapping(path = "one") |
| | | @SsoAop("-1") |
| | | public BaseResponse<BaClientType> one(@Parameter(description = "å®ä½id", required = true) Long id){ |
| | | return BaseResponseUtils.buildSuccess(this.sv.selectById(id)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿ååæ·ç±»å |
| | | * @param po ä¿ååæ·ç±»åform表å对象 |
| | | * @return æ¯å¦æå |
| | | */ |
| | | @Operation(summary = "ä¿ååæ·ç±»å", description = "æäº¤åæ·ç±»åæ°æ®ï¼form表åï¼ï¼è¿è¡ä¿å") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | | responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE, |
| | | description = "æä½ç»æï¼trueï¼æåï¼falseï¼å¤±è´¥ï¼BaseResponse.contentï¼", |
| | | content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
| | | schema = @Schema(implementation = Boolean.class))} |
| | | ) |
| | | }) |
| | | @PostMapping(path = "save", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | @SsoAop("-1")//@SsoAop(power = "-1") |
| | | public BaseResponse<Boolean> save(@Parameter(description = "formè¡¨åæ°æ®", required = true) @Valid BaClientType po, @Parameter(hidden = true) BindingResult bindingResult){ |
| | | if(bindingResult != null && bindingResult.hasErrors()){ |
| | | return BaseResponseUtils.buildFail(Objects.requireNonNull(bindingResult.getFieldError()).getDefaultMessage()); |
| | | } |
| | | po.id = null ; |
| | | int count; |
| | | try { |
| | | count = this.sv.save(po); |
| | | } catch (Exception e) { |
| | | log.error("ä¿ååæ·ç±»åå¼å¸¸", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | if(count <= 0){ |
| | | return BaseResponseUtils.buildFail("æ°æ®åºåå¨å¤±è´¥") ; |
| | | }else{ |
| | | return BaseResponseUtils.buildSuccess(true) ; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * ç¼è¾ä¿®æ¹åæ·ç±»å |
| | | * @param po ä¿ååæ·ç±»åform表å对象 |
| | | * @return æ¯å¦æå |
| | | */ |
| | | @Operation(summary = "ç¼è¾ä¿®æ¹åæ·ç±»å", description = "æäº¤åæ·ç±»åæ°æ®ï¼form表åï¼ï¼è¿è¡ä¿®æ¹") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | | responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE, |
| | | description = "æä½ç»æï¼trueï¼æåï¼falseï¼å¤±è´¥ï¼BaseResponse.contentï¼", |
| | | content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
| | | schema = @Schema(implementation = Boolean.class))} |
| | | ) |
| | | }) |
| | | @PostMapping(path = "update", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |
| | | @SsoAop("-1")//@SsoAop(power = "-1") |
| | | public BaseResponse<Boolean> update(@Parameter(description = "formè¡¨åæ°æ®", required = true) @Valid BaClientType po, @Parameter(hidden = true) BindingResult bindingResult){ |
| | | if(bindingResult != null && bindingResult.hasErrors()){ |
| | | return BaseResponseUtils.buildFail(Objects.requireNonNull(bindingResult.getFieldError()).getDefaultMessage()); |
| | | } |
| | | if(po.id == null){ |
| | | return BaseResponseUtils.buildFail("æ æ°æ®å®ä½ID") ; |
| | | } |
| | | int count; |
| | | try { |
| | | count = this.sv.update(po); |
| | | } catch (Exception e) { |
| | | log.error("ä¿ååæ·ç±»åå¼å¸¸", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | if(count <= 0){ |
| | | return BaseResponseUtils.buildFail("æ°æ®åºåå¨å¤±è´¥") ; |
| | | }else{ |
| | | return BaseResponseUtils.buildSuccess(true) ; |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å é¤åæ·ç±»å |
| | | * @param id åæ·ç±»åID |
| | | * @return æ¯å¦æå |
| | | */ |
| | | @Operation(summary = "å é¤åæ·ç±»å", description = "æäº¤åæ·ç±»åIDï¼è¿è¡é»è¾å é¤") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | | responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE, |
| | | description = "æä½ç»æï¼trueï¼æåï¼falseï¼å¤±è´¥ï¼BaseResponse.contentï¼", |
| | | content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
| | | schema = @Schema(implementation = Boolean.class))} |
| | | ) |
| | | }) |
| | | @GetMapping(path = "delete", consumes = MediaType.TEXT_PLAIN_VALUE) |
| | | @SsoAop("-1")//@SsoAop(power = "-1") |
| | | public BaseResponse<Boolean> delete(@Parameter(description = "å®ä½id", required = true) Long id){ |
| | | if(id == null){ |
| | | return BaseResponseUtils.buildFail("idä¸è½ä¸ºç©º") ; |
| | | } |
| | | int count; |
| | | try { |
| | | count = this.sv.delete(id); |
| | | } catch (Exception e) { |
| | | log.error("ä¿ååæ·ç±»åå¼å¸¸", e); |
| | | return BaseResponseUtils.buildException(e.getMessage()) ; |
| | | } |
| | | if(count <= 0){ |
| | | return BaseResponseUtils.buildFail("æ°æ®åºåå¨å¤±è´¥") ; |
| | | }else{ |
| | | return BaseResponseUtils.buildSuccess(true) ; |
| | | } |
| | | } |
| | | |
| | | } |
New file |
| | |
| | | package com.dy.pipIrrBase.clientType; |
| | | |
| | | import com.dy.common.webUtil.QueryResultVo; |
| | | import com.dy.pipIrrBase.user.QueryVo; |
| | | import com.dy.pipIrrGlobal.daoBa.BaClientTypeMapper; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaClientType; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.dubbo.common.utils.PojoUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Slf4j |
| | | @Service |
| | | public class ClientTypeSv { |
| | | |
| | | private BaClientTypeMapper dao; |
| | | |
| | | @Autowired |
| | | private void setDao(BaClientTypeMapper dao){ |
| | | this.dao = dao; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å¾å°ææåæ·ç±»å |
| | | * @return ææåæ·ç±»åéå |
| | | */ |
| | | public QueryResultVo<List<BaClientType>> selectAll(){ |
| | | QueryResultVo<List<BaClientType>> rsVo = new QueryResultVo<>() ; |
| | | rsVo.obj = this.dao.selectAll() ; |
| | | return rsVo ; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å¾å°ä¸ä¸ªåæ·ç±»å |
| | | * @param id åæ·ç±»åID |
| | | * @return åæ·ç±»åå®ä½ |
| | | */ |
| | | public BaClientType selectById(Long id){ |
| | | return this.dao.selectById(id) ; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * å¾å°ä¸ä¸ªç¨æ· |
| | | * @param vo æ¥è¯¢æ¡ä»¶å¼å¯¹è±¡ |
| | | * @return ç¨æ·å®ä½ |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | public QueryResultVo<List<BaClientType>> selectSome(QueryVo vo){ |
| | | Map<String, Object> params = (Map<String, Object>) PojoUtils.generalize(vo) ; |
| | | Long itemTotal = this.dao.selectTotal(params) ; |
| | | |
| | | QueryResultVo<List<BaClientType>> rsVo = new QueryResultVo<>() ; |
| | | rsVo.pageSize = vo.pageSize ; |
| | | rsVo.pageCurr = vo.pageCurr ; |
| | | rsVo.calculateAndSet(itemTotal, params); |
| | | rsVo.obj = this.dao.selectSome(params) ; |
| | | |
| | | return rsVo ; |
| | | } |
| | | |
| | | /** |
| | | * ä¿åå®ä½ |
| | | * @param po å®ä½ |
| | | * @return å½±åè®°å½æ°é |
| | | */ |
| | | @Transactional |
| | | public int save(BaClientType po){ |
| | | return this.dao.insertSelective(po) ; |
| | | } |
| | | |
| | | /** |
| | | * ä¿åä¿®æ¹å®ä½ |
| | | * @param po å®ä½ |
| | | * @return å½±åè®°å½æ°é |
| | | */ |
| | | @Transactional |
| | | public int update(BaClientType po){ |
| | | return this.dao.updateByPrimaryKeySelective(po) ; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * ä¿åä¿®æ¹å®ä½ |
| | | * @param id å®ä½ID |
| | | * @return å½±åè®°å½æ°é |
| | | */ |
| | | @Transactional |
| | | public int delete(Long id){ |
| | | //int count = this.dao.deleteLogicById(id) ; |
| | | //é»è¾å é¤ï¼æä»¥ä¸å®é
å é¤å
¶å
³èçæé |
| | | //if(count > 0){ |
| | | // this.rolePrivDao.deleteByRoleId(id) ; |
| | | //} |
| | | //return count ; |
| | | return 0 ;// this.dao.deleteLogicById(id) ; |
| | | } |
| | | |
| | | |
| | | } |
New file |
| | |
| | | package com.dy.pipIrrBase.clientType; |
| | | |
| | | |
| | | import com.dy.common.webUtil.QueryConditionVo; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.*; |
| | | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ToString(callSuper = true) |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @Builder |
| | | @Schema(name = "åæ·ç±»åæ¥è¯¢æ¡ä»¶") |
| | | public class QueryVo extends QueryConditionVo { |
| | | |
| | | @Schema(description = "åæ·ç±»ååç§°") |
| | | public String name; |
| | | } |
| | | |
| | |
| | | package com.dy.pipIrrBase.district; |
| | | |
| | | import com.dy.common.aop.SsoAop; |
| | | import com.dy.common.mybatis.envm.Deleted; |
| | | import com.dy.common.webUtil.BaseResponse; |
| | | import com.dy.common.webUtil.BaseResponseUtils; |
| | | import com.dy.common.webUtil.ResultCodeMsg; |
| | |
| | | BaDistrict po = DistrictVoMapper.INSTANCT.convert(vo); |
| | | int count; |
| | | try { |
| | | BaDistrict supperPo = this.sv.selectById(po.supperId) ; |
| | | if(supperPo == null){ |
| | | return BaseResponseUtils.buildFail("åºéï¼æªå¾å°ä¸çº§è¡æ¿åº") ; |
| | | }else{ |
| | | po.level = DistrictLevel.get((byte)(supperPo.level.code + 1)) ; |
| | | } |
| | | po.deleted = Deleted.NO ; |
| | | count = this.sv.save(po); |
| | | } catch (Exception e) { |
| | | log.error("ä¿åè¡æ¿åºå¼å¸¸", e); |
| | |
| | | @Schema(description = "è¡æ¿åºå®ä½id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | public Long id; |
| | | |
| | | @Schema(description = "ä¸çº§è¡æ¿åºID", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Schema(description = "ä¸çº§è¡æ¿åºID", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | public Long supperId ; |
| | | |
| | | @Schema(description = "è¡æ¿åºåç§°", requiredMode = Schema.RequiredMode.REQUIRED) |
| | |
| | | schema = @Schema(implementation = BaRole.class))} |
| | | ) |
| | | }) |
| | | @PostMapping(path = "all") |
| | | @GetMapping(path = "all") |
| | | @SsoAop("-1") |
| | | public BaseResponse<QueryResultVo<List<BaRole>>> all(){ |
| | | try { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 客æ·ç«¯è¯·æ±å¾å°ææè§è²æ°æ® |
| | | * 客æ·ç«¯è¯·æ±å¾å°ä¸é¡µè§è²æ°æ® |
| | | * @return ææè§è²æ°æ® |
| | | */ |
| | | @Operation(summary = "è·å¾ä¸é¡µè§è²", description = "è¿åä¸é¡µè§è²æ°æ®") |
| | |
| | | import com.dy.common.webUtil.BaseResponseUtils; |
| | | import com.dy.common.webUtil.ResultCodeMsg; |
| | | import com.dy.pipIrrGlobal.pojoBa.BaUser; |
| | | import com.dy.pipIrrGlobal.util.DistrictLevel; |
| | | import com.dy.pipIrrGlobal.util.Org; |
| | | import com.mysql.cj.util.StringUtils; |
| | | import io.swagger.v3.oas.annotations.Hidden; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | |
| | | import org.springframework.validation.BindingResult; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import java.util.Objects; |
| | | import java.util.UUID; |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * 客æ·ç«¯è¯·æ±å¾å°ææç»ç»æºæ |
| | | * @return ææç»ç»æºææ°æ® |
| | | */ |
| | | @Operation(summary = "ææç»ç»æºæ", description = "è¿åææææç»ç»æºææ°æ®") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | | responseCode = ResultCodeMsg.RsCode.SUCCESS_CODE, |
| | | description = "è¿åææç»ç»æºææ°æ®ï¼BaseResponse.content:[ { \"tag\":\"ym\", \"name\":\"å
è°\" }, { \"tag\":\"çè§\", \"name\":\"çè§é\" }]ï¼", |
| | | content = {@Content(mediaType = MediaType.APPLICATION_JSON_VALUE, |
| | | schema = @Schema(implementation = Org.class))} |
| | | ) |
| | | }) |
| | | @GetMapping(path = "allOrg") |
| | | public BaseResponse<List<Org>> allOrg(){ |
| | | List<Org> list = Arrays.asList(Org.Ym, Org.Pj) ; |
| | | return BaseResponseUtils.buildSuccess(list); |
| | | } |
| | | /** |
| | | * 客æ·ç«¯è¯·æ±ç¨æ·ç»å½ï¼å®¢æ·ç«¯æäº¤Jsonæ°æ® |
| | | * @param vo ç¨æ·ç»å½å¼å¯¹è±¡ |
| | | * @param bindingResult è¾å
¥éªè¯ |
| | |
| | | this.baPrivilegeMapper = baPrivilegeMapper ; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * éè¦BaUserMapper.xml |
| | | * @param uuid ç»ç»å½æåçç¨æ·èµå¼å
¶token |