k94314517
2024-03-17 f62345115d02710c23772cc345bf1ecfa89faeeb
ERP接口
已修改7个文件
40 ■■■■ 文件已修改
server/dmvisit_admin/src/main/java/com/doumee/api/business/EmpowerController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/dmvisit_admin/src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/dmvisit_service/src/main/java/com/doumee/dao/business/model/Empower.java 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/dmvisit_service/src/main/java/com/doumee/service/business/impl/VisitEventServiceImpl.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/dmvisit_web/src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/openapi/src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
server/dmvisit_admin/src/main/java/com/doumee/api/business/EmpowerController.java
@@ -78,7 +78,7 @@
    @PostMapping("/exportExcel")
    @RequiresPermissions("business:empower:exportExcel")
    public void exportExcel (@RequestBody PageWrap<Empower> pageWrap, HttpServletResponse response) {
        ExcelExporter.build(Empower.class).export(empowerService.findPage(pageWrap).getRecords(), "人员授权导入记录", response);
        ExcelExporter.build(Empower.class).export(empowerService.findPage(pageWrap).getRecords(), "授权记录", response);
    }
    @ApiOperation("根据ID查询")
server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
@@ -26,8 +26,8 @@
 * @date 2021-10-10 14:40:35
 * https://www.bejson.com/othertools/cron/  cron 表达式生成地址
 */
//@Component
//@EnableScheduling
@Component
@EnableScheduling
public class ScheduleTool {
    @Autowired
server/dmvisit_admin/src/main/resources/application.yml
@@ -10,7 +10,7 @@
  #  application:
  #    name: doumeemes
  profiles:
    active: testHS
    active: proHS
  # JSON返回配置
  jackson:
server/dmvisit_service/src/main/java/com/doumee/dao/business/model/Empower.java
@@ -82,59 +82,58 @@
    private String companyId;
    @ApiModelProperty(value = "姓名")
    @ExcelColumn(name="姓名",index = 1)
    @ExcelColumn(name="姓名",index = 1,width = 6)
    @TableField(exist = false)
    private String memberName;
    @ApiModelProperty(value = "手机号")
    @ExcelColumn(name="手机号" ,index = 2)
    @ExcelColumn(name="手机号" ,index = 2,width = 10)
    @TableField(exist = false)
    private String memberPhone;
    @ApiModelProperty(value = "身份证")
    @ExcelColumn(name="身份证",index= 3)
    @ExcelColumn(name="身份证",index= 3,width = 12)
    @TableField(exist = false)
    private String memberidCard;
    @ApiModelProperty(value = "所属公司")
    @ExcelColumn(name="所属公司",index= 4)
    @ExcelColumn(name="所属公司",index= 4,width = 12)
    @TableField(exist = false)
    private String companyName;
    @ApiModelProperty(value = "门禁有效期开始")
    @ExcelColumn(name="门禁有效期开始",index= 5,dateFormat = "yyyy-MM-dd")
    @ExcelColumn(name="门禁有效期开始",index= 5,dateFormat = "yyyy-MM-dd",width = 10)
    private Date startTime;
    @ApiModelProperty(value = "门禁有效期结束", example = "1")
    @ExcelColumn(name="门禁有效期结束",index= 6,dateFormat = "yyyy-MM-dd")
    @ExcelColumn(name="门禁有效期结束",index= 6,dateFormat = "yyyy-MM-dd",width = 10)
    private Date endTime;
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name="创建时间",index= 7,dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ExcelColumn(name="创建时间",index= 7,dateFormat = "yyyy-MM-dd HH:mm:ss",width = 16)
    private Date createDate;
    @ApiModelProperty(value = "操作人")
    @ExcelColumn(name="操作人",index= 7)
    @TableField(exist = false)
    private String createrName;
    @ApiModelProperty(value = "卡片集合(英文逗号隔开)")
    private String cardNos;
    @ApiModelProperty(value = "一卡通授权下发状态 0待下发 1任务执行 2下发成功 3已取消 4下发失败 5任务下载已结束 6不符合下发条件 ", example = "1")
    @ExcelColumn(name="下发状态",index= 8,valueMapping ="0=待下发;1=已下发;2=下发成功;3=已取消;4=下发失败;5=任务下载已结束;6==不符合下发条件" )
    @ExcelColumn(name="下发状态",index= 8,valueMapping ="0=待下发;1=已下发;2=下发成功;3=已取消;4=下发失败;5=任务下载已结束;6==不符合下发条件",width = 10 )
    private Integer sendStatus;
    @ApiModelProperty(value = "下发类型 0实时 1定时 ", example = "1")
    @ExcelColumn(name="下发类型",index= 9,valueMapping ="0=实时;1=定时" )
    @ExcelColumn(name="下发类型",index= 9,valueMapping ="0=实时;1=定时",width = 6 )
    private Integer sendType;
    @ApiModelProperty(value = "下发时间")
    @ExcelColumn(name="下发时间",index= 10,dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ExcelColumn(name="下发时间",index= 10,dateFormat = "yyyy-MM-dd HH:mm:ss",width = 16)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendDate;
    @ApiModelProperty(value = "下发备注")
    @ExcelColumn(name="下发备注",index= 11)
    @ExcelColumn(name="下发备注",index= 11,width = 16)
    private String sendInfo;
    @ApiModelProperty(value = "下发开始时间")
server/dmvisit_service/src/main/java/com/doumee/service/business/impl/VisitEventServiceImpl.java
@@ -269,7 +269,10 @@
                        pageWrap.getModel().getKeyWords())
                .like(StringUtils.isNotBlank(pageWrap.getModel().getCarNo()),
                        VisitEvent::getCarNo,
                        pageWrap.getModel().getKeyWords())
                        pageWrap.getModel().getCarNo())
                .like(StringUtils.isNotBlank(pageWrap.getModel().getVisitorWorkUint()),
                        VisitEvent::getVisitorWorkUint,
                        pageWrap.getModel().getVisitorWorkUint())
                .like(StringUtils.isNotBlank(pageWrap.getModel().getCompanyName()),
                        Company::getName,
                        pageWrap.getModel().getCompanyName())
server/dmvisit_web/src/main/resources/application.yml
@@ -10,7 +10,7 @@
  #  application:
  #    name: doumeemes
  profiles:
    active: dev
    active: proHS
  # JSON返回配置
  jackson:
server/openapi/src/main/resources/application.yml
@@ -10,7 +10,7 @@
  #  application:
  #    name: doumeemes
  profiles:
    active: testHS
    active: proHS
  # JSON返回配置
  jackson: