Compare commits
No commits in common. "95f9fba705f8ffb9722f33f273502594274c0646" and "87d6e2fb977ca101365b823bb4d61cd5a891e3b3" have entirely different histories.
95f9fba705
...
87d6e2fb97
|
|
@ -1,8 +0,0 @@
|
||||||
# 默认忽略的文件
|
|
||||||
/shelf/
|
|
||||||
/workspace.xml
|
|
||||||
# 基于编辑器的 HTTP 客户端请求
|
|
||||||
/httpRequests/
|
|
||||||
# Datasource local storage ignored files
|
|
||||||
/dataSources/
|
|
||||||
/dataSources.local.xml
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectStorage">
|
|
||||||
<option name="folderId" value="19905a0ab9f26f" />
|
|
||||||
<option name="path" value="海神女的私有团队->Gbs港务局->口门门禁" />
|
|
||||||
<option name="projectId" value="35be46" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
|
||||||
<data-source source="LOCAL" name="@nlb-kd2xz70qhllfet2koj.cn-beijing.nlb.aliyuncsslb.com" uuid="bae719c6-3357-4872-a8b5-26488c89acf2">
|
|
||||||
<driver-ref>mysql.8</driver-ref>
|
|
||||||
<synchronize>true</synchronize>
|
|
||||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
|
||||||
<jdbc-url>jdbc:mysql://nlb-kd2xz70qhllfet2koj.cn-beijing.nlb.aliyuncsslb.com:33068</jdbc-url>
|
|
||||||
<jdbc-additional-properties>
|
|
||||||
<property name="com.intellij.clouds.kubernetes.db.host.port" />
|
|
||||||
<property name="com.intellij.clouds.kubernetes.db.enabled" value="false" />
|
|
||||||
<property name="com.intellij.clouds.kubernetes.db.container.port" />
|
|
||||||
</jdbc-additional-properties>
|
|
||||||
<working-dir>$ProjectFileDir$</working-dir>
|
|
||||||
</data-source>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,585 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="EasyCodeTableSetting">
|
|
||||||
<option name="tableInfoMap">
|
|
||||||
<map>
|
|
||||||
<entry key="integrated_yjb.tb_iron_monitoring_target">
|
|
||||||
<value>
|
|
||||||
<TableInfoDTO>
|
|
||||||
<option name="comment" value="监控指标表" />
|
|
||||||
<option name="fullColumn">
|
|
||||||
<list>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="主键" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="monitoringId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="指标编码" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="targetCode" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="所属设备编码" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="equipCode" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="设备id" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="equipmentId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="指标名称" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="targetName" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="指标类别" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="targetType" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="指标采集点位置" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="targetPlace" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="计量单位 模拟量必填" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="targetUnit" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="高报阈值" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="thresholdUpLimit" />
|
|
||||||
<option name="type" value="java.lang.Double" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="高高报阈值" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="thresholdUpUpLimit" />
|
|
||||||
<option name="type" value="java.lang.Double" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="低报阈值" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="thresholdDownLimit" />
|
|
||||||
<option name="type" value="java.lang.Double" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="低低报阈值" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="thresholdDownDownLimit" />
|
|
||||||
<option name="type" value="java.lang.Double" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="量程上限 模拟量指标需要填写" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="rangeUp" />
|
|
||||||
<option name="type" value="java.lang.Double" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="量程下限 模拟量指标需要填写" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="rangeDown" />
|
|
||||||
<option name="type" value="java.lang.Double" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="描述" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="targetDescription" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="位号" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="bitNo" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="信号类型1:模拟量; 2:开关量" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="signalType" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="开关量报警值" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="alarmValue" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="指标停用状态0:停用 ;1 正常使用" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="targetStatus" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="企业id" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="corpinfoId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="添加人" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="creator" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="添加时间" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="creattime" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="修改人" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="operator" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="修改时间" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="operattime" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否删除(0:有效 1:删除)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="isdelete" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
</list>
|
|
||||||
</option>
|
|
||||||
<option name="name" value="TbIronMonitoringTarget" />
|
|
||||||
<option name="preName" value="" />
|
|
||||||
<option name="saveModelName" value="integrated_yjb" />
|
|
||||||
<option name="savePackageName" value="com.zcloud" />
|
|
||||||
<option name="savePath" value="./src/main/java/com/zcloud/e2myBatisP" />
|
|
||||||
<option name="templateGroupName" value="zcloud" />
|
|
||||||
</TableInfoDTO>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
<entry key="new_template.sys_user2">
|
|
||||||
<value>
|
|
||||||
<TableInfoDTO>
|
|
||||||
<option name="fullColumn">
|
|
||||||
<list>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="用户ID" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="userId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="用户名" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="username" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="密码" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="password" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="姓名" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="name" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="角色ID" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="roleId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="最近登录时间" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="lastLogin" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="IP" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="ip" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="状态0.正常 99.锁定 2密码错误次数超过当天限制" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="status" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="备注" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="bz" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="皮肤" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="skin" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="邮箱" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="email" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="编码" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="number" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="电话" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="phone" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="副职角色ID组" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="roleIds" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="部门ID" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="departmentId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="企业" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="corpinfoId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="小程序菜单ID组" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="funIds" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="微信码" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="appid" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="岗位" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="postId" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否主账号" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="ismain" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="登录错误次数" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="errorCount" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="人员在部门中的排序" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="sort" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="在线学习人员类别" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="learnercategory" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="人员头像数据前缀" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="useravatarprefix" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="人员头像数据" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="useravatarurl" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="倒班类型-1级" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="shiftdutyone" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="倒班类型-2级" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="shiftdutytwo" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="工作状态持续时间(天)(上班或休班)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="duration" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="工作状态 1-上班 2-休班" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="workstatus" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="当前工作周期数" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="workperiod" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="isRecorder" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="人员类型" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="personnelType" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否为隐患确认人0否1是" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="isHazardconfirmer" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否为临时访问审核人(0:否,1:是)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="isAccessauditor" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否在线学习人员" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="isOnlinelearning" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="人员类型" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="personType" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="emis对接人员" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="jcr" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="推送id" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="pushCid" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="工号(人员定位使用)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="empno" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="曹妃甸数据人员状态 0企业端 1监管端 此字段用于港务局给曹妃甸发起安全环保检查选择人员 只选曹妃甸该字段值为1的人员" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="cfdStatus" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="卡号(人员定位使用)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="cardno" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="人员标识用作手机app登录(12.15新加如需删除请联系王轩)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="userIdentity" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="baseimgpath" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="backendaddr" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="门口门禁人员编号(门口门禁使用)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="mkmjcard" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否推送到中台" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="ispush" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="1监管2企业3相关方" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="userType" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否在人资系统存在(0:未确认,1:通过姓名和手机号确认,2:用户已手动确认,3:人资修改人员)" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="inHrUser" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="是否删除,0否1是" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="isDelete" />
|
|
||||||
<option name="type" value="java.lang.Integer" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="创建人" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="creator" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="创建时间" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="createTime" />
|
|
||||||
<option name="type" value="java.util.Date" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="修改人" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="operat" />
|
|
||||||
<option name="type" value="java.lang.String" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
<ColumnInfoDTO>
|
|
||||||
<option name="comment" value="修改时间" />
|
|
||||||
<option name="custom" value="false" />
|
|
||||||
<option name="ext" value="{}" />
|
|
||||||
<option name="name" value="operatTime" />
|
|
||||||
<option name="type" value="java.util.Date" />
|
|
||||||
</ColumnInfoDTO>
|
|
||||||
</list>
|
|
||||||
</option>
|
|
||||||
<option name="name" value="SysUser2" />
|
|
||||||
<option name="preName" value="" />
|
|
||||||
<option name="saveModelName" value="regulatory_gwj_2.0" />
|
|
||||||
<option name="savePackageName" value="com.zcloud.modules.sys.entity" />
|
|
||||||
<option name="savePath" value="./src/main/java/com/zcloud/modules/sys/entity" />
|
|
||||||
<option name="templateGroupName" value="zcloud" />
|
|
||||||
</TableInfoDTO>
|
|
||||||
</value>
|
|
||||||
</entry>
|
|
||||||
</map>
|
|
||||||
</option>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="Encoding" native2AsciiForPropertiesFiles="true" defaultCharsetForPropertiesFiles="UTF-8">
|
|
||||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/start/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/start/src/main/resources" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/web-adapter/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/web-app/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/web-client/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/web-domain/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/web-infrastructure/src/main/java" charset="UTF-8" />
|
|
||||||
<file url="file://$PROJECT_DIR$/web-infrastructure/src/main/resources" charset="UTF-8" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,70 +0,0 @@
|
||||||
<component name="InspectionProjectProfileManager">
|
|
||||||
<profile version="1.0">
|
|
||||||
<option name="myName" value="Project Default" />
|
|
||||||
<inspection_tool class="AliAccessStaticViaInstance" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AliArrayNamingShouldHaveBracket" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AliControlFlowStatementWithoutBraces" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AliDeprecation" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AliEqualsAvoidNull" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AliLongLiteralsEndingWithLowercaseL" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AliMissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AliWrapperTypeEquality" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAbstractClassShouldStartWithAbstractNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAbstractMethodOrInterfaceMethodMustUseJavadoc" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidApacheBeanUtilsCopy" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidCallStaticSimpleDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidCommentBehindStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidComplexCondition" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidConcurrentCompetitionRandom" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidDoubleOrFloatEqualCompare" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidManuallyCreateThread" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidMissUseOfMathRandom" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidNegationOperator" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidNewDateGetTime" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidPatternCompileInMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidReturnInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidStartWithDollarAndUnderLineNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaAvoidUseTimer" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaBigDecimalAvoidDoubleConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaBooleanPropertyShouldNotStartWithIs" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaClassCastExceptionWithSubListToArrayList" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaClassCastExceptionWithToArray" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaClassMustHaveAuthor" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaClassNamingShouldBeCamel" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaCollectionInitShouldAssignCapacity" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaCommentsMustBeJavadocFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaConcurrentExceptionWithModifyOriginSubList" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaConstantFieldShouldBeUpperCase" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaCountDownShouldInFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaDontModifyInForeachCircle" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaEnumConstantsMustHaveComment" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaExceptionClassShouldEndWithException" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaIbatisMethodQueryForList" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaLockShouldWithTryFinally" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaLowerCamelCaseVariableNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaMethodReturnWrapperType" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaMethodTooLong" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaPackageNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaPojoMustOverrideToString" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaPojoMustUsePrimitiveField" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaPojoNoDefaultValue" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaRemoveCommentedCode" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaServiceOrDaoClassShouldEndWithImpl" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaSneakyThrowsWithoutExceptionType" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaStringConcat" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaSwitchExpression" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaSwitchStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaTestClassShouldEndWithTestNaming" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaThreadLocalShouldRemove" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaThreadPoolCreation" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaThreadShouldSetName" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaTransactionMustHaveRollback" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaUndefineMagicConstant" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaUnsupportedExceptionWithModifyAsList" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaUseQuietReferenceNotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AlibabaUseRightCaseForDateFormat" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MapOrSetKeyShouldOverrideHashCodeEquals" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SpringJavaInjectionPointsAutowiringInspection" enabled="false" level="ERROR" enabled_by_default="false" />
|
|
||||||
</profile>
|
|
||||||
</component>
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
|
||||||
<component name="MavenProjectsManager">
|
|
||||||
<option name="originalFiles">
|
|
||||||
<list>
|
|
||||||
<option value="$PROJECT_DIR$/pom.xml" />
|
|
||||||
</list>
|
|
||||||
</option>
|
|
||||||
</component>
|
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,124 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="Palette2">
|
|
||||||
<group name="Swing">
|
|
||||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
|
||||||
</item>
|
|
||||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
|
||||||
<initial-values>
|
|
||||||
<property name="text" value="Button" />
|
|
||||||
</initial-values>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
|
||||||
<initial-values>
|
|
||||||
<property name="text" value="RadioButton" />
|
|
||||||
</initial-values>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
|
||||||
<initial-values>
|
|
||||||
<property name="text" value="CheckBox" />
|
|
||||||
</initial-values>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
|
||||||
<initial-values>
|
|
||||||
<property name="text" value="Label" />
|
|
||||||
</initial-values>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
|
||||||
<preferred-size width="150" height="-1" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
|
||||||
<preferred-size width="150" height="-1" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
|
||||||
<preferred-size width="150" height="-1" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
|
||||||
<preferred-size width="150" height="50" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
|
||||||
<preferred-size width="150" height="50" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
|
||||||
<preferred-size width="150" height="50" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
|
||||||
<preferred-size width="150" height="50" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
|
||||||
<preferred-size width="150" height="50" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
|
||||||
<preferred-size width="150" height="50" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
|
||||||
<preferred-size width="200" height="200" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
|
||||||
<preferred-size width="200" height="200" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
|
||||||
<preferred-size width="-1" height="20" />
|
|
||||||
</default-constraints>
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
|
||||||
</item>
|
|
||||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
|
||||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
|
||||||
</item>
|
|
||||||
</group>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
"active_plan": "E:\\proj\\zcloudGbsProj\\zcloud-gbs-primeport\\.sisyphus\\plans\\refactor-car-apply-listpage.md",
|
|
||||||
"started_at": "2026-03-20T02:50:18.824Z",
|
|
||||||
"session_ids": [
|
|
||||||
"ses_2f70a72c8ffea8FCW0BWHlECqF"
|
|
||||||
],
|
|
||||||
"plan_name": "refactor-car-apply-listpage",
|
|
||||||
"agent": "atlas"
|
|
||||||
}
|
|
||||||
|
|
@ -1,68 +0,0 @@
|
||||||
# Add currentUserCanAudit Field Logic
|
|
||||||
|
|
||||||
## TL;DR
|
|
||||||
|
|
||||||
在 `ClosedAreaPersonApplyQueryExe.execute()` 方法中添加逻辑,为每条查询结果设置 `currentUserCanAudit` 字段,标识当前登录用户是否能审核该申请。
|
|
||||||
|
|
||||||
**Deliverables**:
|
|
||||||
- 修改 `ClosedAreaPersonApplyQueryExe.java`
|
|
||||||
|
|
||||||
**Estimated Effort**: Quick (1 file, <20 lines)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Context
|
|
||||||
|
|
||||||
### Target File
|
|
||||||
`web-app/src/main/java/com/zcloud/primeport/command/query/ClosedAreaPersonApplyQueryExe.java`
|
|
||||||
|
|
||||||
### Business Logic
|
|
||||||
- `currentUserCanAudit = 1`:当前用户能审核(审核中状态且当前用户是审批人)
|
|
||||||
- `currentUserCanAudit = 2`:当前用户不能审核
|
|
||||||
|
|
||||||
### Implementation Requirements
|
|
||||||
1. 获取当前登录用户ID:`AuthContext.getUserId()`
|
|
||||||
2. 遍历查询结果,对每个 `ClosedAreaPersonApplyCO` 设置字段:
|
|
||||||
- 如果 `auditFlag == 1`(审核中)且 `auditPersonUserId == currentUserId` → `currentUserCanAudit = 1`
|
|
||||||
- 否则 → `currentUserCanAudit = 2`
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## TODOs
|
|
||||||
|
|
||||||
- [x] Add currentUserCanAudit logic in ClosedAreaPersonApplyQueryExe.execute()
|
|
||||||
|
|
||||||
**What to do**:
|
|
||||||
1. 在 `execute` 方法中获取当前登录用户ID
|
|
||||||
2. 在转换DO到CO后,遍历CO列表设置 `currentUserCanAudit` 字段
|
|
||||||
3. 判断逻辑:审核中(1)且当前用户是审批人 → 能审核(1),否则不能审核(2)
|
|
||||||
|
|
||||||
**References**:
|
|
||||||
- `web-app/src/main/java/com/zcloud/primeport/command/query/ClosedAreaPersonApplyQueryExe.java:48-53` - execute method to modify
|
|
||||||
- `web-client/src/main/java/com/zcloud/primeport/dto/clientobject/ClosedAreaPersonApplyCO.java:124-125` - currentUserCanAudit field already exists
|
|
||||||
- `web-app/src/main/java/com/zcloud/primeport/command/ClosedAreaPersonApplyAddExe.java` - AuthContext.getUserId() usage example
|
|
||||||
|
|
||||||
**Acceptance Criteria**:
|
|
||||||
- [ ] `execute` 方法中获取 `AuthContext.getUserId()`
|
|
||||||
- [ ] 对每条记录正确设置 `currentUserCanAudit` 字段
|
|
||||||
- [ ] 代码编译通过
|
|
||||||
- [ ] 使用 `import com.jjb.saas.framework.auth.utils.AuthContext;`
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Commit Strategy
|
|
||||||
|
|
||||||
- **1**: `feat(closedArea): add currentUserCanAudit logic in query` — ClosedAreaPersonApplyQueryExe.java
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Success Criteria
|
|
||||||
|
|
||||||
### Verification Commands
|
|
||||||
```bash
|
|
||||||
mvn compile -pl web-app
|
|
||||||
```
|
|
||||||
|
|
||||||
### Final Checklist
|
|
||||||
- [ ] `currentUserCanAudit` 逻辑正确实现
|
|
||||||
- [ ] 代码编译通过
|
|
||||||
|
|
@ -1,132 +0,0 @@
|
||||||
# Refactor ClosedAreaCarApplyRepositoryImpl listPage Method
|
|
||||||
|
|
||||||
## TL;DR
|
|
||||||
|
|
||||||
按照 `ClosedAreaPersonApplyRepositoryImpl.listPage()` 的实现方式重写 `ClosedAreaCarApplyRepositoryImpl.listPage()` 方法,添加 `menuPerms` 参数处理逻辑。
|
|
||||||
|
|
||||||
**Deliverables**:
|
|
||||||
- 修改 `ClosedAreaCarApplyMapper.java` - 添加 listPage 方法
|
|
||||||
- 修改 `ClosedAreaCarApplyMapper.xml` - 添加 SQL 查询
|
|
||||||
- 修改 `ClosedAreaCarApplyRepositoryImpl.java` - 重写 listPage 方法
|
|
||||||
|
|
||||||
**Estimated Effort**: Quick (3 files)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Context
|
|
||||||
|
|
||||||
### Reference Implementation
|
|
||||||
`ClosedAreaPersonApplyRepositoryImpl.listPage()` 的实现模式:
|
|
||||||
1. 使用 `Page<Map<String, Object>>` 创建分页对象
|
|
||||||
2. 获取 `menuPerms` 参数:通过 `MenuEnum.getMenuKeyByPath()` 转换
|
|
||||||
3. 调用 Mapper 的自定义 `listPage` 方法
|
|
||||||
4. 返回 `PageHelper.pageToResponse()` 结果
|
|
||||||
|
|
||||||
### Business Logic
|
|
||||||
```java
|
|
||||||
String menuPerms = "";
|
|
||||||
if (!org.springframework.util.ObjectUtils.isEmpty(params.get("menuPath"))) {
|
|
||||||
menuPerms = MenuEnum.getMenuKeyByPath(params.get("menuPath").toString());
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## TODOs
|
|
||||||
|
|
||||||
- [ ] 1. Add listPage method to ClosedAreaCarApplyMapper.java
|
|
||||||
|
|
||||||
**What to do**:
|
|
||||||
添加 `listPage` 方法签名,参考 ClosedAreaPersonApplyMapper
|
|
||||||
|
|
||||||
**File**: `web-infrastructure/src/main/java/com/zcloud/primeport/persistence/mapper/ClosedAreaCarApplyMapper.java`
|
|
||||||
|
|
||||||
**Code**:
|
|
||||||
```java
|
|
||||||
IPage<ClosedAreaCarApplyDO> listPage(Page<Map<String, Object>> page, Map<String, Object> params, String menuPerms);
|
|
||||||
```
|
|
||||||
|
|
||||||
**Imports to add**:
|
|
||||||
```java
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import java.util.Map;
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] 2. Add listPage SQL to ClosedAreaCarApplyMapper.xml
|
|
||||||
|
|
||||||
**What to do**:
|
|
||||||
添加分页查询 SQL,参考 ClosedAreaPersonApplyMapper.xml
|
|
||||||
|
|
||||||
**File**: `web-infrastructure/src/main/resources/mapper/ClosedAreaCarApplyMapper.xml`
|
|
||||||
|
|
||||||
**Code**:
|
|
||||||
```xml
|
|
||||||
<select id="listPage" resultType="com.zcloud.primeport.persistence.dataobject.ClosedAreaCarApplyDO">
|
|
||||||
select * from closed_area_car_apply c
|
|
||||||
where c.delete_enum = 'FALSE'
|
|
||||||
<if test="params.processOrRecord != null">
|
|
||||||
<if test="params.processOrRecord == 1">
|
|
||||||
AND c.audit_flag = 1
|
|
||||||
</if>
|
|
||||||
<if test="params.processOrRecord == 2">
|
|
||||||
AND c.audit_flag != 1
|
|
||||||
</if>
|
|
||||||
</if>
|
|
||||||
<if test="params.applyPersonUserName != null and params.applyPersonUserName != ''">
|
|
||||||
AND c.apply_person_user_name like CONCAT('%', #{params.applyPersonUserName}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="params.licenceNo != null and params.licenceNo != ''">
|
|
||||||
AND c.licence_no like CONCAT('%', #{params.licenceNo}, '%')
|
|
||||||
</if>
|
|
||||||
</select>
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] 3. Rewrite listPage in ClosedAreaCarApplyRepositoryImpl.java
|
|
||||||
|
|
||||||
**What to do**:
|
|
||||||
按照 ClosedAreaPersonApplyRepositoryImpl 的模式重写 listPage 方法
|
|
||||||
|
|
||||||
**File**: `web-infrastructure/src/main/java/com/zcloud/primeport/persistence/repository/impl/ClosedAreaCarApplyRepositoryImpl.java`
|
|
||||||
|
|
||||||
**Code**:
|
|
||||||
```java
|
|
||||||
@Override
|
|
||||||
public PageResponse<ClosedAreaCarApplyDO> listPage(Map<String, Object> params) {
|
|
||||||
Page<Map<String, Object>> page = new Page<>(Integer.parseInt(params.get("pageIndex").toString()),
|
|
||||||
Integer.parseInt(params.get("pageSize").toString()));
|
|
||||||
String menuPerms = "";
|
|
||||||
if (!org.springframework.util.ObjectUtils.isEmpty(params.get("menuPath"))) {
|
|
||||||
menuPerms = MenuEnum.getMenuKeyByPath(params.get("menuPath").toString());
|
|
||||||
}
|
|
||||||
IPage<ClosedAreaCarApplyDO> result = closedAreaCarApplyMapper.listPage(page, params, menuPerms);
|
|
||||||
return PageHelper.pageToResponse(result, result.getRecords());
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
**Imports to add**:
|
|
||||||
```java
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import com.zcloud.primeport.domain.enums.MenuEnum;
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Commit Strategy
|
|
||||||
|
|
||||||
- **1**: `feat(closedArea): refactor ClosedAreaCarApplyRepositoryImpl listPage with menuPerms` — 3 files
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Success Criteria
|
|
||||||
|
|
||||||
### Verification Commands
|
|
||||||
```bash
|
|
||||||
mvn compile -pl web-infrastructure
|
|
||||||
```
|
|
||||||
|
|
||||||
### Final Checklist
|
|
||||||
- [ ] Mapper 接口添加 listPage 方法
|
|
||||||
- [ ] XML 添加对应 SQL
|
|
||||||
- [ ] Repository 实现重写完成
|
|
||||||
- [ ] 编译通过
|
|
||||||
208
AGENTS.md
208
AGENTS.md
|
|
@ -1,208 +0,0 @@
|
||||||
# AGENTS.md
|
|
||||||
|
|
||||||
This file provides guidance to agentic coding agents operating in this repository.
|
|
||||||
|
|
||||||
## Project Overview
|
|
||||||
|
|
||||||
**zcloud-gbs-primeport** - A Spring Boot application for port access control management built with COLA framework and DDD architecture.
|
|
||||||
|
|
||||||
## Build Commands
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Build the project
|
|
||||||
mvn clean install
|
|
||||||
|
|
||||||
# Build without running tests
|
|
||||||
mvn clean install -DskipTests
|
|
||||||
|
|
||||||
# Run the application
|
|
||||||
mvn spring-boot:run -pl start
|
|
||||||
|
|
||||||
# Package for deployment
|
|
||||||
mvn clean package
|
|
||||||
|
|
||||||
# Compile only
|
|
||||||
mvn compile
|
|
||||||
```
|
|
||||||
|
|
||||||
## Test Commands
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Run all tests
|
|
||||||
mvn test
|
|
||||||
|
|
||||||
# Run a single test class
|
|
||||||
mvn test -Dtest=ClassNameTest
|
|
||||||
|
|
||||||
# Run a single test method
|
|
||||||
mvn test -Dtest=ClassNameTest#methodName
|
|
||||||
|
|
||||||
# Run tests in a specific module
|
|
||||||
mvn test -pl web-app
|
|
||||||
```
|
|
||||||
|
|
||||||
## Code Style Guidelines
|
|
||||||
|
|
||||||
### Architecture (COLA + DDD)
|
|
||||||
|
|
||||||
This is a multi-module Maven project with strict layer separation:
|
|
||||||
|
|
||||||
```
|
|
||||||
start/ # Application entry point
|
|
||||||
web-adapter/ # Controllers (HTTP request handling)
|
|
||||||
web-client/ # DTOs + API interface definitions
|
|
||||||
web-app/ # Executors + Service implementations (business orchestration)
|
|
||||||
web-domain/ # Entities + Gateway interfaces (core business logic)
|
|
||||||
web-infrastructure/ # DOs + Mappers + Repository implementations (data persistence)
|
|
||||||
```
|
|
||||||
|
|
||||||
### Naming Conventions
|
|
||||||
|
|
||||||
| Layer | Suffix | Example |
|
|
||||||
|-------|--------|---------|
|
|
||||||
| Entity | `E` | `MkmjE` |
|
|
||||||
| Data Object | `DO` | `MkmjDO` |
|
|
||||||
| Client Object | `CO` | `MkmjCO` |
|
|
||||||
| Command DTO | `Cmd` | `MkmjAddCmd`, `MkmjUpdateCmd` |
|
|
||||||
| Query DTO | `Qry` | `MkmjPageQry` |
|
|
||||||
| Service Interface | `ServiceI` | `MkmjServiceI` |
|
|
||||||
| Service Impl | `ServiceImpl` | `MkmjServiceImpl` |
|
|
||||||
| Gateway Interface | `Gateway` | `MkmjGateway` |
|
|
||||||
| Gateway Impl | `GatewayImpl` | `MkmjGatewayImpl` |
|
|
||||||
| Repository | `Repository` | `MkmjRepository` |
|
|
||||||
| Repository Impl | `RepositoryImpl` | `MkmjRepositoryImpl` |
|
|
||||||
| Mapper | `Mapper` | `MkmjMapper` |
|
|
||||||
| Add Executor | `AddExe` | `MkmjAddExe` |
|
|
||||||
| Update Executor | `UpdateExe` | `MkmjUpdateExe` |
|
|
||||||
| Remove Executor | `RemoveExe` | `MkmjRemoveExe` |
|
|
||||||
| Query Executor | `QueryExe` | `MkmjQueryExe` |
|
|
||||||
| Convertor | `CoConvertor` | `MkmjCoConvertor` |
|
|
||||||
|
|
||||||
### Import Guidelines
|
|
||||||
|
|
||||||
- Imports should be organized alphabetically
|
|
||||||
- Use `@AllArgsConstructor` for constructor injection (preferred over `@Autowired`)
|
|
||||||
- Example import order:
|
|
||||||
```java
|
|
||||||
import com.alibaba.cola.dto.PageResponse;
|
|
||||||
import com.zcloud.primeport.api.MkmjServiceI;
|
|
||||||
import com.zcloud.primeport.command.MkmjAddExe;
|
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
```
|
|
||||||
|
|
||||||
### Annotations
|
|
||||||
|
|
||||||
- Use Lombok annotations: `@Data`, `@AllArgsConstructor`, `@NoArgsConstructor`, `@Builder`, `@RequiredArgsConstructor`
|
|
||||||
- Controller: `@RestController`, `@RequestMapping`, `@AllArgsConstructor`, `@Api`
|
|
||||||
- Service: `@Service`, `@AllArgsConstructor`
|
|
||||||
- Executor: `@Component`, `@AllArgsConstructor`
|
|
||||||
- Mapper: `@Mapper` (MyBatis)
|
|
||||||
- DO: `@Data`, `@TableName`, `@EqualsAndHashCode(callSuper = true)`
|
|
||||||
|
|
||||||
### CQRS Pattern
|
|
||||||
|
|
||||||
Write and read operations are separated:
|
|
||||||
|
|
||||||
- **Write**: `XxxAddExe`, `XxxUpdateExe`, `XxxRemoveExe` in `web-app/command/`
|
|
||||||
- **Read**: `XxxQueryExe` in `web-app/command/query/`
|
|
||||||
|
|
||||||
### Request Flow
|
|
||||||
|
|
||||||
```
|
|
||||||
Controller (web-adapter)
|
|
||||||
-> ServiceI (web-client)
|
|
||||||
-> ServiceImpl (web-app)
|
|
||||||
-> Executor (web-app/command)
|
|
||||||
-> Gateway (web-domain)
|
|
||||||
-> GatewayImpl -> Repository -> Mapper (web-infrastructure)
|
|
||||||
```
|
|
||||||
|
|
||||||
### MyBatis Plus Conventions
|
|
||||||
|
|
||||||
1. **Non-database fields in DO**: Use `@TableField(exist = false)`
|
|
||||||
```java
|
|
||||||
@ApiModelProperty(value = "摄像头数量")
|
|
||||||
@TableField(exist = false)
|
|
||||||
private Integer videoCount;
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **Field naming**: MyBatis Plus auto-converts snake_case to camelCase. Write SQL with underscore:
|
|
||||||
```xml
|
|
||||||
SELECT m.hg_auth_area AS hgAuthArea, m.mkmj_name AS mkmjName FROM mkmj m
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Default ordering**: Use `ORDER BY m.create_time DESC` or appropriate ordering in XML mappers.
|
|
||||||
|
|
||||||
### Error Handling
|
|
||||||
|
|
||||||
- Use `BizException` from COLA for business exceptions:
|
|
||||||
```java
|
|
||||||
if (!res) {
|
|
||||||
throw new BizException("保存失败");
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
- Use `@Transactional(rollbackFor = Exception.class)` for transactional methods.
|
|
||||||
|
|
||||||
### Validation
|
|
||||||
|
|
||||||
- Use JSR-303 annotations in Cmd classes:
|
|
||||||
```java
|
|
||||||
@NotEmpty(message = "口门名称不能为空")
|
|
||||||
private String mkmjName;
|
|
||||||
|
|
||||||
@NotNull(message = "口门级别不能为空")
|
|
||||||
private Integer mkmjLevel;
|
|
||||||
```
|
|
||||||
|
|
||||||
- Use `@Validated` in Controller methods:
|
|
||||||
```java
|
|
||||||
public SingleResponse<MkmjCO> add(@Validated @RequestBody MkmjAddCmd cmd)
|
|
||||||
```
|
|
||||||
|
|
||||||
### MapStruct Convertors
|
|
||||||
|
|
||||||
Use MapStruct for DO to CO conversions:
|
|
||||||
```java
|
|
||||||
@Mapper(componentModel = "spring")
|
|
||||||
public interface MkmjCoConvertor {
|
|
||||||
List<MkmjCO> converDOsToCOs(List<MkmjDO> mkmjDOs);
|
|
||||||
MkmjCO converDOToCO(MkmjDO mkmjDOs);
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Adding New Features
|
|
||||||
|
|
||||||
When adding a new entity, create files in this order:
|
|
||||||
|
|
||||||
1. `web-client/dto/clientobject/XxxCO.java`
|
|
||||||
2. `web-client/dto/XxxAddCmd.java`, `XxxUpdateCmd.java`, `XxxPageQry.java`
|
|
||||||
3. `web-client/api/XxxServiceI.java`
|
|
||||||
4. `web-adapter/web/XxxController.java`
|
|
||||||
5. `web-domain/model/XxxE.java`
|
|
||||||
6. `web-domain/gateway/XxxGateway.java`
|
|
||||||
7. `web-infrastructure/dataobject/XxxDO.java`
|
|
||||||
8. `web-infrastructure/mapper/XxxMapper.java`
|
|
||||||
9. `web-infrastructure/resources/mapper/XxxDO.xml`
|
|
||||||
10. `web-infrastructure/repository/XxxRepository.java`
|
|
||||||
11. `web-infrastructure/repository/impl/XxxRepositoryImpl.java`
|
|
||||||
12. `web-infrastructure/gatewayimpl/XxxGatewayImpl.java`
|
|
||||||
13. `web-app/command/XxxAddExe.java`, `XxxUpdateExe.java`, `XxxRemoveExe.java`
|
|
||||||
14. `web-app/command/query/XxxQueryExe.java`
|
|
||||||
15. `web-app/command/convertor/XxxCoConvertor.java`
|
|
||||||
16. `web-app/service/XxxServiceImpl.java`
|
|
||||||
|
|
||||||
### Database
|
|
||||||
|
|
||||||
- PostgreSQL (driver version 42.6.0)
|
|
||||||
- DDL location: `web-infrastructure/src/main/resources/TableCreationDDL.sql`
|
|
||||||
- Multi-tenant support via `tenant_id` and `org_id` columns
|
|
||||||
- Soft delete via `delete_enum` column (use `'false'` for active records)
|
|
||||||
|
|
||||||
### Response Types (COLA)
|
|
||||||
|
|
||||||
- `Response` - Simple success/failure
|
|
||||||
- `SingleResponse<T>` - Single object response
|
|
||||||
- `MultiResponse<T>` - List response
|
|
||||||
- `PageResponse<T>` - Paginated list response
|
|
||||||
160
CLAUDE.md
160
CLAUDE.md
|
|
@ -1,160 +0,0 @@
|
||||||
# CLAUDE.md
|
|
||||||
|
|
||||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
||||||
|
|
||||||
## Project Overview
|
|
||||||
|
|
||||||
**zcloud-gbs-primeport** - 智慧云港-港口首进门禁管理系统
|
|
||||||
|
|
||||||
A Spring Boot application based on DDD (Domain-Driven Design) architecture using the COLA framework. Manages port/area access control with multi-level area management, vehicle approval, and personnel access control.
|
|
||||||
|
|
||||||
## Build and Run
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Build the project
|
|
||||||
mvn clean install
|
|
||||||
|
|
||||||
# Run the application (main class: com.zcloud.primeport.Application)
|
|
||||||
mvn spring-boot:run -pl start
|
|
||||||
|
|
||||||
# Package for deployment
|
|
||||||
mvn clean package
|
|
||||||
```
|
|
||||||
|
|
||||||
## DDD Architecture
|
|
||||||
|
|
||||||
This is a COLA-based multi-module Maven project with strict layer separation:
|
|
||||||
|
|
||||||
```
|
|
||||||
start/ # Application entry point (main class, configuration)
|
|
||||||
web-adapter/ # Adapter layer (Controllers) - HTTP request handling
|
|
||||||
web-client/ # Client layer (DTOs + API interface definitions)
|
|
||||||
web-app/ # Application layer (Command/Query executors) - Business orchestration
|
|
||||||
web-domain/ # Domain layer (Entity + Gateway) - Core business logic
|
|
||||||
web-infrastructure/ # Infrastructure layer (DO + Mapper) - Data persistence
|
|
||||||
```
|
|
||||||
|
|
||||||
### Key Architecture Patterns
|
|
||||||
|
|
||||||
**CQRS**: Read and write operations are separated
|
|
||||||
- Write operations: `XxxAddExe`, `XxxUpdateExe`, `XxxRemoveExe` in `web-app/command/`
|
|
||||||
- Read operations: `XxxQueryExe` in `web-app/command/query/`
|
|
||||||
|
|
||||||
**Naming Conventions**:
|
|
||||||
- Entities: `XxxE` (domain entities in `web-domain`)
|
|
||||||
- DTOs: `XxxCmd` (commands), `XxxQry` (queries), `XxxCO` (client objects)
|
|
||||||
- Data Objects: `XxxDO` (database objects in `web-infrastructure`)
|
|
||||||
- Gateways: `XxxGateway` interfaces in `web-domain`, implemented in `web-infrastructure`
|
|
||||||
|
|
||||||
**Request Flow**:
|
|
||||||
```
|
|
||||||
Controller (web-adapter)
|
|
||||||
→ ServiceI (web-client)
|
|
||||||
→ ServiceImpl (web-app)
|
|
||||||
→ Executor (web-app/command)
|
|
||||||
→ Gateway (web-domain)
|
|
||||||
→ Mapper (web-infrastructure)
|
|
||||||
```
|
|
||||||
|
|
||||||
## Database Schema
|
|
||||||
|
|
||||||
Database DDL is located at: `web-infrastructure/src/main/resources/TableCreationDDL.sql`
|
|
||||||
|
|
||||||
### Core Tables (9 main business entities)
|
|
||||||
|
|
||||||
**门禁管理**
|
|
||||||
- `mkmj` - 门口信息管理表 (gate info: 一级/二级口门)
|
|
||||||
- `mkmj_gate` - 门口闸机表 (gate equipment)
|
|
||||||
- `mkmj_passage` - 口门门禁通道表 (passageways: 人行/车行/综合)
|
|
||||||
- `mkmj_approval_user` - 一级口门门禁审批人
|
|
||||||
- `video` - 摄像头表 (video monitoring)
|
|
||||||
|
|
||||||
**人员管理**
|
|
||||||
- `person_apply` - 人员申请审批信息 (personnel applications with audit workflow)
|
|
||||||
- `person_message` - 审批通过的人员信息 (approved personnel for access control sync)
|
|
||||||
|
|
||||||
**车辆管理**
|
|
||||||
- `vehicle_apply` - 车辆申请审批信息 (vehicle applications with audit workflow)
|
|
||||||
- `vehicle_audit` - 车辆审批
|
|
||||||
- `vehicle_message` - 审批通过的固化车辆信息
|
|
||||||
- `vehicle_black` - 车辆黑名单管理
|
|
||||||
- `vehicle_violations` - 车辆违规记录
|
|
||||||
|
|
||||||
### Key Business Concepts
|
|
||||||
|
|
||||||
**审核状态** - audit_flag:
|
|
||||||
- 1: 审核中
|
|
||||||
- 2: 审核通过
|
|
||||||
- 3: 审核驳回
|
|
||||||
- 4: 无需审批 (检查部门车辆/长期人员)
|
|
||||||
|
|
||||||
**车辆/人员所属类型** - belong_type:
|
|
||||||
- 1: 股份员工车辆/人员
|
|
||||||
- 2: 股份单位车辆
|
|
||||||
- 3: 分公司员工车辆/人员
|
|
||||||
- 4: 分公司单位车辆
|
|
||||||
- 5: 相关方车辆
|
|
||||||
- 6: 临时车辆/人员
|
|
||||||
- 7: 检查部门车辆
|
|
||||||
|
|
||||||
**口门级别** - mkmj_level:
|
|
||||||
- 1: 一级口门
|
|
||||||
- 2: 二级口门
|
|
||||||
|
|
||||||
**通道/闸机类型**:
|
|
||||||
- 1: 人行
|
|
||||||
- 2: 车行
|
|
||||||
- 3: 综合
|
|
||||||
|
|
||||||
## Configuration
|
|
||||||
|
|
||||||
- Uses Nacos for centralized configuration
|
|
||||||
- Database: MySQL (Note: DDL shows MySQL syntax, but pom.xml has PostgreSQL driver - confirm actual DB)
|
|
||||||
- MyBatis Plus for ORM
|
|
||||||
- Main application config: `start/src/main/resources/bootstrap.yml`
|
|
||||||
- Nacos connection: `start/src/main/resources/nacos.yml`
|
|
||||||
- Multi-tenant support via `tenant_id` and `org_id` columns
|
|
||||||
|
|
||||||
## Module Dependencies
|
|
||||||
|
|
||||||
All modules depend on `web-client`. The `start` module only depends on `web-adapter` and pulls in transitive dependencies.
|
|
||||||
|
|
||||||
Current git branch: `koumen` (门禁审批功能 - gate access approval)
|
|
||||||
Main branch: `master`
|
|
||||||
|
|
||||||
## Code Generation Pattern
|
|
||||||
|
|
||||||
When adding new features, follow the existing pattern across all layers:
|
|
||||||
1. Create CO in `web-client/src/main/java/com/zcloud/primeport/dto/clientobject/`
|
|
||||||
2. Create Cmd/Qry in `web-client/src/main/java/com/zcloud/primeport/dto/`
|
|
||||||
3. Create ServiceI in `web-client/src/main/java/com/zcloud/primeport/api/`
|
|
||||||
4. Create Controller in `web-adapter/src/main/java/com/zcloud/primeport/web/`
|
|
||||||
5. Create Entity in `web-domain/src/main/java/com/zcloud/primeport/domain/model/`
|
|
||||||
6. Create Gateway interface in `web-domain/src/main/java/com/zcloud/primeport/domain/gateway/`
|
|
||||||
7. Create DO in `web-infrastructure/src/main/java/com/zcloud/primeport/persistence/dataobject/`
|
|
||||||
8. Create Mapper in `web-infrastructure/src/main/java/com/zcloud/primeport/persistence/mapper/`
|
|
||||||
9. Create GatewayImpl in `web-infrastructure/src/main/java/com/zcloud/primeport/gatewayimpl/`
|
|
||||||
10. Create Executors in `web-app/src/main/java/com/zcloud/primeport/command/`
|
|
||||||
11. Create ServiceImpl in `web-app/src/main/java/com/zcloud/primeport/service/`
|
|
||||||
|
|
||||||
## MyBatis Plus Development Conventions
|
|
||||||
|
|
||||||
### DO (Data Object) Field Conventions
|
|
||||||
|
|
||||||
1. **Non-database fields**: When adding a field to DO that does not exist in the database table (e.g., association query results), use `@TableField(exist = false)` annotation:
|
|
||||||
```java
|
|
||||||
@ApiModelProperty(value = "摄像头数量")
|
|
||||||
@TableField(exist = false)
|
|
||||||
private Integer videoCount;
|
|
||||||
```
|
|
||||||
|
|
||||||
2. **Field naming**: MyBatis Plus automatically converts between underscore (snake_case) and camelCase. Write SQL with underscore column names directly - no need to manually convert to camelCase:
|
|
||||||
```xml
|
|
||||||
<!-- SQL 中直接使用下划线字段名 -->
|
|
||||||
SELECT m.hg_auth_area AS hgAuthArea, m.mkmj_name AS mkmjName FROM mkmj m
|
|
||||||
```
|
|
||||||
|
|
||||||
3. **Default ordering**: Unless specified otherwise, order by `create_time DESC` for list/page queries:
|
|
||||||
```xml
|
|
||||||
ORDER BY m.create_time DESC
|
|
||||||
```
|
|
||||||
|
|
@ -1,54 +0,0 @@
|
||||||
spring:
|
|
||||||
datasource:
|
|
||||||
mysql:
|
|
||||||
url: jdbc:mysql://${mysql.host}:${mysql.port}/${mysql.db}?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai
|
|
||||||
username: ${mysql.username}
|
|
||||||
password: ${mysql.password}
|
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
|
||||||
# 降级
|
|
||||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
|
||||||
initial-size: 6
|
|
||||||
min-idle: 1
|
|
||||||
maxActive: 100
|
|
||||||
# 配置获取连接等待超时的时间
|
|
||||||
maxWait: 60000
|
|
||||||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
|
|
||||||
timeBetweenEvictionRunsMillis: 60000
|
|
||||||
# 配置一个连接在池中最小生存的时间,单位是毫秒
|
|
||||||
minEvictableIdleTimeMillis: 300000
|
|
||||||
#Oracle需要打开注释
|
|
||||||
#validationQuery: SELECT 1 FROM DUAL
|
|
||||||
testWhileIdle: true
|
|
||||||
testOnBorrow: false
|
|
||||||
testOnReturn: false
|
|
||||||
# 打开PSCache,并且指定每个连接上PSCache的大小
|
|
||||||
poolPreparedStatements: true
|
|
||||||
maxPoolPreparedStatementPerConnectionSize: 20
|
|
||||||
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
|
|
||||||
filters: stat,slf4j
|
|
||||||
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
|
||||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
||||||
wall:
|
|
||||||
multi-statement-allow: true
|
|
||||||
pgsql:
|
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
|
||||||
driver-class-name: org.postgresql.Driver # PG专属驱动
|
|
||||||
url: jdbc:postgresql://39.100.115.58:15431/postgres?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
||||||
username: postgres
|
|
||||||
password: DjIGYM8k0h
|
|
||||||
# PG专属Druid配置(适配PG特性,统一为驼峰格式匹配原有风格)
|
|
||||||
initial-size: 6
|
|
||||||
min-idle: 1
|
|
||||||
maxActive: 100
|
|
||||||
maxWait: 60000
|
|
||||||
timeBetweenEvictionRunsMillis: 60000
|
|
||||||
minEvictableIdleTimeMillis: 300000
|
|
||||||
testWhileIdle: true
|
|
||||||
testOnBorrow: false
|
|
||||||
testOnReturn: false
|
|
||||||
poolPreparedStatements: true
|
|
||||||
maxPoolPreparedStatementPerConnectionSize: 20
|
|
||||||
validationQuery: SELECT 1 # PG必须配置连接检测语句(MySQL可省略)
|
|
||||||
filters: stat,slf4j # PG不兼容wall过滤器,需移除
|
|
||||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
<!doctype html><html lang="zh"><head data-built-info="@cqsjjb/scripts@2.0.0-alpha-1 Env/production (2025/10/17 11:07:53) App/risk"><meta charset="UTF-8"/><meta name="renderer" content="webkit"/><meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/><meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover"><title>--</title><script>(function () {
|
|
||||||
const APP_ENV = {
|
|
||||||
antd: {
|
|
||||||
'ant-prefix': 'micro-temp',
|
|
||||||
fontFamily: 'PingFangSC-Regular',
|
|
||||||
colorPrimary: '#1677ff',
|
|
||||||
borderRadius: parseInt('2')
|
|
||||||
},
|
|
||||||
appKey: '',
|
|
||||||
basename: 'risk',
|
|
||||||
API_HOST: ''
|
|
||||||
};
|
|
||||||
APP_ENV.API_HOST = sessionStorage.API_HOST || APP_ENV.API_HOST || window.location.origin;
|
|
||||||
window.process = {
|
|
||||||
env: { app: APP_ENV },
|
|
||||||
NODE_ENV: 'production'
|
|
||||||
};
|
|
||||||
window.__JJB_ENVIRONMENT__ = {
|
|
||||||
API_HOST: APP_ENV.API_HOST,
|
|
||||||
redirect: '',
|
|
||||||
FRAMEWORK: APP_ENV.antd
|
|
||||||
};
|
|
||||||
})();</script><script defer="defer" src="/risk/static/js/295.21df88c875577274cecb.js"></script><script defer="defer" src="/risk/static/js/main.4c0885586ad9a06ab444.js"></script><link href="/risk/static/css/main.40fc518bb0818fe8b8ea.css" rel="stylesheet"></head><body style="overflow: hidden"><noscript>此网页需要开启JavaScript功能。</noscript><div id="root" style="width: 100%; height: 100%; position: relative"></div><script type="text/javascript">/* @cqsjjb/script 输出当前应用基本信息、构建时间 */console.log("%c@cqsjjb/scripts@2.0.0-alpha-1 Env/production (2025/10/17 11:07:53) App/risk Version/master Java/<branch-name>", "color: #1890ff; border-radius: 2px; padding: 0 4px; border: 1px solid #1890ff; background: #f9fcff")</script></body></html>
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
body,html{height:100%;width:100%}input::-ms-clear,input::-ms-reveal{display:none}*,:after,:before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{font-weight:500;margin-bottom:.5em;margin-top:0}p{margin-bottom:1em;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=number],input[type=password],input[type=text],textarea{-webkit-appearance:none}dl,ol,ul{margin-bottom:1em;margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}code,kbd,pre,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-bottom:1em;margin-top:0;overflow:auto}figure{margin:0 0 1em}img{border-style:none;vertical-align:middle}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;padding-bottom:.3em;padding-top:.75em;text-align:left}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5em;line-height:inherit;margin-bottom:.5em;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{background-color:#feffe6;padding:.2em}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
module.exports={compact:!1,plugins:[["@babel/plugin-proposal-decorators",{legacy:!0}]],presets:[["@babel/preset-env",{targets:{browsers:["ie >= 10"]}}],["@babel/preset-react",{runtime:"automatic"}]]};
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
module.exports={javaGit:"<git-url>",javaGitName:"<git-name>",environment:{development:{javaGitBranch:"<branch-name>",API_HOST:"http://192.168.20.100:30140/demo2"},production:{javaGitBranch:"<branch-name>",API_HOST:""}},appIdentifier:"risk",contextInject:{appKey:""},windowInject:{title:"微应用模板",links:[],element:{root:{id:"root"}},scripts:[]},server:{port:"8080",host:"127.0.0.1",open:!0},framework:{antd:{"ant-prefix":"micro-temp",fontFamily:"PingFangSC-Regular",colorPrimary:"#1677ff",borderRadius:2}},webpackConfig:{htmlWebpackPluginOption:{inject:!0}}};
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,135 +0,0 @@
|
||||||
/*!
|
|
||||||
Copyright (c) 2018 Jed Watson.
|
|
||||||
Licensed under the MIT License (MIT), see
|
|
||||||
http://jedwatson.github.io/classnames
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
||||||
*
|
|
||||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
||||||
* Released under the MIT License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* isobject <https://github.com/jonschlinkert/isobject>
|
|
||||||
*
|
|
||||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
||||||
* Released under the MIT License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react-dom.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react-is.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react-jsx-runtime.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* react.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @license React
|
|
||||||
* scheduler.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @license React v16.13.1
|
|
||||||
* react-is.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @license React v17.0.2
|
|
||||||
* react-is.production.min.js
|
|
||||||
*
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @preserve
|
|
||||||
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
||||||
* derived from CryptoJS.mode.CTR
|
|
||||||
* Jan Hruby jhruby.web@gmail.com
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @preserve
|
|
||||||
(c) 2012 by Cédric Mesnil. 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.
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
|
|
||||||
/** */
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
||||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
{
|
|
||||||
"name": "micro-app",
|
|
||||||
"version": "2.0.0",
|
|
||||||
"description": "建教帮微应用模板",
|
|
||||||
"author": "JJB",
|
|
||||||
"license": "MIT",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"serve": "node node_modules/@cqsjjb/scripts/webpack.dev.server.js",
|
|
||||||
"build": "node node_modules/@cqsjjb/scripts/webpack.build.js",
|
|
||||||
"push": "jjb-cmd push java production",
|
|
||||||
"clean-cache": "rimraf node_modules/.cache/webpack",
|
|
||||||
"serve:development": "cross-env NODE_ENV=development npm run serve",
|
|
||||||
"serve:production": "cross-env NODE_ENV=production npm run serve",
|
|
||||||
"build:development": "cross-env NODE_ENV=development npm run build",
|
|
||||||
"build:production": "cross-env NODE_ENV=production npm run build",
|
|
||||||
"code-optimization": "node node_modules/@cqsjjb/scripts/code-optimization.js",
|
|
||||||
"lint": "eslint --ext .js,.jsx,.tsx --fix src"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@ant-design/icons": "latest",
|
|
||||||
"@cqsjjb/jjb-common-decorator": "latest",
|
|
||||||
"@cqsjjb/jjb-common-lib": "latest",
|
|
||||||
"@cqsjjb/jjb-dva-runtime": "latest",
|
|
||||||
"@cqsjjb/jjb-react-admin-component": "latest",
|
|
||||||
"ahooks": "^3.9.5",
|
|
||||||
"antd": "latest",
|
|
||||||
"dayjs": "^1.11.7",
|
|
||||||
"react": "^18.2.0",
|
|
||||||
"react-dom": "^18.2.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@antfu/eslint-config": "^5.4.1",
|
|
||||||
"@babel/plugin-proposal-decorators": "^7.19.3",
|
|
||||||
"@cqsjjb/scripts": "latest",
|
|
||||||
"@eslint-react/eslint-plugin": "^2.2.2",
|
|
||||||
"cross-env": "^7.0.3",
|
|
||||||
"eslint": "^9.37.0",
|
|
||||||
"eslint-plugin-format": "^1.0.2",
|
|
||||||
"eslint-plugin-react-hooks": "^7.0.0",
|
|
||||||
"eslint-plugin-react-refresh": "^0.4.23",
|
|
||||||
"typescript": "^5.9.3"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -63,5 +63,12 @@ public class ClosedAreaCarApplyController {
|
||||||
closedAreaCarApplyService.remove(id);
|
closedAreaCarApplyService.remove(id);
|
||||||
return SingleResponse.buildSuccess();
|
return SingleResponse.buildSuccess();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiOperation("修改")
|
||||||
|
@PutMapping("/edit")
|
||||||
|
public SingleResponse edit(@Validated @RequestBody ClosedAreaCarApplyUpdateCmd closedAreaCarApplyUpdateCmd) {
|
||||||
|
closedAreaCarApplyService.edit(closedAreaCarApplyUpdateCmd);
|
||||||
|
return SingleResponse.buildSuccess();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,10 @@
|
||||||
package com.zcloud.primeport.command;
|
package com.zcloud.primeport.command;
|
||||||
|
|
||||||
import com.alibaba.cola.dto.SingleResponse;
|
|
||||||
import com.jjb.saas.framework.auth.model.SSOUser;
|
|
||||||
import com.jjb.saas.framework.auth.utils.AuthContext;
|
|
||||||
import com.zcloud.gbscommon.zclouduser.facade.ZcloudUserFacade;
|
|
||||||
import com.zcloud.gbscommon.zclouduser.response.ZcloudUserCo;
|
|
||||||
import com.zcloud.primeport.domain.enums.AuditEnum;
|
|
||||||
import com.zcloud.primeport.domain.enums.CloseCarBelongTypeEnum;
|
|
||||||
import com.zcloud.primeport.domain.gateway.ClosedAreaCarApplyGateway;
|
import com.zcloud.primeport.domain.gateway.ClosedAreaCarApplyGateway;
|
||||||
import com.zcloud.primeport.domain.model.ClosedAreaCarApplyE;
|
import com.zcloud.primeport.domain.model.ClosedAreaCarApplyE;
|
||||||
import com.zcloud.primeport.dto.ClosedAreaCarApplyAddCmd;
|
import com.zcloud.primeport.dto.ClosedAreaCarApplyAddCmd;
|
||||||
import com.alibaba.cola.exception.BizException;
|
import com.alibaba.cola.exception.BizException;
|
||||||
import jodd.util.Base64;
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import org.apache.dubbo.config.annotation.DubboReference;
|
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
@ -29,34 +20,11 @@ import org.springframework.transaction.annotation.Transactional;
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class ClosedAreaCarApplyAddExe {
|
public class ClosedAreaCarApplyAddExe {
|
||||||
private final ClosedAreaCarApplyGateway closedAreaCarApplyGateway;
|
private final ClosedAreaCarApplyGateway closedAreaCarApplyGateway;
|
||||||
@DubboReference
|
|
||||||
private ZcloudUserFacade zcloudUserFacade;
|
|
||||||
|
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public boolean execute(ClosedAreaCarApplyAddCmd cmd) {
|
public boolean execute(ClosedAreaCarApplyAddCmd cmd) {
|
||||||
ClosedAreaCarApplyE closedAreaCarApplyE = new ClosedAreaCarApplyE();
|
ClosedAreaCarApplyE closedAreaCarApplyE = new ClosedAreaCarApplyE();
|
||||||
BeanUtils.copyProperties(cmd, closedAreaCarApplyE);
|
BeanUtils.copyProperties(cmd, closedAreaCarApplyE);
|
||||||
closedAreaCarApplyE.setAuditFlag(AuditEnum.WAITING.getCode());
|
|
||||||
if (!cmd.getCarBelongType().equals(CloseCarBelongTypeEnum.TEMPORARY_VEHICLES.getCode())) {
|
|
||||||
SingleResponse<ZcloudUserCo> infoByUserId = zcloudUserFacade.getInfoByUserId(AuthContext.getUserId());
|
|
||||||
ZcloudUserCo userData = infoByUserId.getData();
|
|
||||||
SSOUser currentUser = AuthContext.getCurrentUser();
|
|
||||||
if (cmd.getCarBelongType().equals(CloseCarBelongTypeEnum.FGS_INSIDE_VEHICLES.getCode())) {
|
|
||||||
closedAreaCarApplyE.setJurisdictionalCorpId(currentUser.getTenantId());
|
|
||||||
closedAreaCarApplyE.setJurisdictionalCorpName(currentUser.getTenantName());
|
|
||||||
}
|
|
||||||
closedAreaCarApplyE.setApplyPersonCorpId(currentUser.getTenantId());
|
|
||||||
closedAreaCarApplyE.setApplyPersonCorpName(currentUser.getTenantName());
|
|
||||||
closedAreaCarApplyE.setApplyPersonDepartmentId(currentUser.getOrgId());
|
|
||||||
closedAreaCarApplyE.setApplyPersonDepartmentName(currentUser.getOrgName());
|
|
||||||
closedAreaCarApplyE.setApplyPersonUserId(currentUser.getUserId());
|
|
||||||
closedAreaCarApplyE.setApplyPersonUserName(userData.getName());
|
|
||||||
closedAreaCarApplyE.setUserPhone(userData.getPhone());
|
|
||||||
closedAreaCarApplyE.setUserCard(userData.getUserIdCard());
|
|
||||||
closedAreaCarApplyE.setUserFaceUrl(userData.getUserAvatarUrl());
|
|
||||||
} else {
|
|
||||||
closedAreaCarApplyE.setUserCard(Base64.encodeToString(cmd.getUserCard()));
|
|
||||||
}
|
|
||||||
boolean res = false;
|
boolean res = false;
|
||||||
try {
|
try {
|
||||||
res = closedAreaCarApplyGateway.add(closedAreaCarApplyE);
|
res = closedAreaCarApplyGateway.add(closedAreaCarApplyE);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
package com.zcloud.primeport.command;
|
package com.zcloud.primeport.command;
|
||||||
|
|
||||||
import com.alibaba.cola.dto.SingleResponse;
|
import com.alibaba.cola.dto.SingleResponse;
|
||||||
import com.jjb.saas.framework.auth.model.SSOUser;
|
|
||||||
import com.jjb.saas.framework.auth.utils.AuthContext;
|
import com.jjb.saas.framework.auth.utils.AuthContext;
|
||||||
import com.zcloud.gbscommon.zclouduser.facade.ZcloudUserFacade;
|
import com.zcloud.gbscommon.zclouduser.facade.ZcloudUserFacade;
|
||||||
import com.zcloud.gbscommon.zclouduser.response.ZcloudUserCo;
|
import com.zcloud.gbscommon.zclouduser.response.ZcloudUserCo;
|
||||||
|
|
@ -38,13 +37,6 @@ public class ClosedAreaPersonApplyAddExe {
|
||||||
if (!cmd.getPersonBelongType().equals(4)) {
|
if (!cmd.getPersonBelongType().equals(4)) {
|
||||||
SingleResponse<ZcloudUserCo> infoByUserId = zcloudUserFacade.getInfoByUserId(AuthContext.getUserId());
|
SingleResponse<ZcloudUserCo> infoByUserId = zcloudUserFacade.getInfoByUserId(AuthContext.getUserId());
|
||||||
ZcloudUserCo userData = infoByUserId.getData();
|
ZcloudUserCo userData = infoByUserId.getData();
|
||||||
SSOUser currentUser = AuthContext.getCurrentUser();
|
|
||||||
closedAreaPersonApplyE.setApplyPersonCorpId(currentUser.getTenantId());
|
|
||||||
closedAreaPersonApplyE.setApplyPersonCorpName(currentUser.getTenantName());
|
|
||||||
closedAreaPersonApplyE.setApplyPersonDepartmentId(currentUser.getOrgId());
|
|
||||||
closedAreaPersonApplyE.setApplyPersonDepartmentName(currentUser.getOrgName());
|
|
||||||
closedAreaPersonApplyE.setApplyPersonUserId(currentUser.getUserId());
|
|
||||||
closedAreaPersonApplyE.setApplyPersonUserName(userData.getName());
|
|
||||||
closedAreaPersonApplyE.setUserPhone(userData.getPhone());
|
closedAreaPersonApplyE.setUserPhone(userData.getPhone());
|
||||||
closedAreaPersonApplyE.setUserCard(userData.getUserIdCard());
|
closedAreaPersonApplyE.setUserCard(userData.getUserIdCard());
|
||||||
closedAreaPersonApplyE.setUserFaceUrl(userData.getUserAvatarUrl());
|
closedAreaPersonApplyE.setUserFaceUrl(userData.getUserAvatarUrl());
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
package com.zcloud.primeport.command.query;
|
package com.zcloud.primeport.command.query;
|
||||||
|
|
||||||
import com.jjb.saas.framework.auth.utils.AuthContext;
|
|
||||||
import com.zcloud.primeport.command.convertor.ClosedAreaCarApplyCoConvertor;
|
import com.zcloud.primeport.command.convertor.ClosedAreaCarApplyCoConvertor;
|
||||||
import com.zcloud.primeport.dto.ClosedAreaCarApplyPageQry;
|
import com.zcloud.primeport.dto.ClosedAreaCarApplyPageQry;
|
||||||
import com.zcloud.primeport.dto.clientobject.ClosedAreaCarApplyCO;
|
import com.zcloud.primeport.dto.clientobject.ClosedAreaCarApplyCO;
|
||||||
|
|
@ -47,19 +46,6 @@ public class ClosedAreaCarApplyQueryExe {
|
||||||
Map<String, Object> params = PageQueryHelper.toHashMap(closedAreaCarApplyPageQry);
|
Map<String, Object> params = PageQueryHelper.toHashMap(closedAreaCarApplyPageQry);
|
||||||
PageResponse<ClosedAreaCarApplyDO> pageResponse = closedAreaCarApplyRepository.listPage(params);
|
PageResponse<ClosedAreaCarApplyDO> pageResponse = closedAreaCarApplyRepository.listPage(params);
|
||||||
List<ClosedAreaCarApplyCO> examCenterCOS = closedAreaCarApplyCoConvertor.converDOsToCOs(pageResponse.getData());
|
List<ClosedAreaCarApplyCO> examCenterCOS = closedAreaCarApplyCoConvertor.converDOsToCOs(pageResponse.getData());
|
||||||
// 获取当前登录用户ID
|
|
||||||
Long currentUserId = AuthContext.getUserId();
|
|
||||||
// 设置当前用户是否能审核
|
|
||||||
for (ClosedAreaCarApplyCO co : examCenterCOS) {
|
|
||||||
// 审核中(1)且当前用户是审批人 → 能审核(1),否则不能审核(2)
|
|
||||||
if (co.getAuditFlag() != null && co.getAuditFlag() == 1
|
|
||||||
&& co.getAuditPersonUserId() != null
|
|
||||||
&& co.getAuditPersonUserId().equals(currentUserId)) {
|
|
||||||
co.setCurrentUserCanAudit(1);
|
|
||||||
} else {
|
|
||||||
co.setCurrentUserCanAudit(2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
return PageResponse.of(examCenterCOS, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,9 +20,9 @@ import javax.validation.constraints.*;
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class ClosedAreaCarApplyAddCmd extends Command {
|
public class ClosedAreaCarApplyAddCmd extends Command {
|
||||||
@ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员5分公司内部车辆", name = "carBelongType", required = true)
|
@ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员", name = "personBelongType", required = true)
|
||||||
@NotNull(message = "申请归属1股份2分公司3相关方4临时人员不能为空")
|
@NotNull(message = "申请归属1股份2分公司3相关方4临时人员不能为空")
|
||||||
private Integer carBelongType;
|
private Integer personBelongType;
|
||||||
|
|
||||||
@ApiModelProperty(value = "车牌类型数据字典", name = "licenceType", required = true)
|
@ApiModelProperty(value = "车牌类型数据字典", name = "licenceType", required = true)
|
||||||
@NotEmpty(message = "车牌类型数据字典不能为空")
|
@NotEmpty(message = "车牌类型数据字典不能为空")
|
||||||
|
|
@ -130,34 +130,5 @@ public class ClosedAreaCarApplyAddCmd extends Command {
|
||||||
private String auditPersonUserName;
|
private String auditPersonUserName;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//申请人员所属企业ID
|
|
||||||
@ApiModelProperty(value = "申请人员所属企业ID", name = "applyPersonCorpId", required = true)
|
|
||||||
private Long applyPersonCorpId;
|
|
||||||
//申请人员所属企业名称
|
|
||||||
@ApiModelProperty(value = "申请人员所属企业名称", name = "applyPersonCorpName", required = true)
|
|
||||||
private String applyPersonCorpName;
|
|
||||||
//待审批人员所属部门id
|
|
||||||
@ApiModelProperty(value = "待审批人员所属部门id", name = "applyPersonDepartmentId", required = true)
|
|
||||||
private Long applyPersonDepartmentId;
|
|
||||||
//申请人员部门名称
|
|
||||||
@ApiModelProperty(value = "申请人员部门名称", name = "applyPersonDepartmentName", required = true)
|
|
||||||
private String applyPersonDepartmentName;
|
|
||||||
//申请人员id
|
|
||||||
@ApiModelProperty(value = "申请人员id", name = "applyPersonUserId", required = true)
|
|
||||||
private Long applyPersonUserId;
|
|
||||||
//申请人员姓名
|
|
||||||
@ApiModelProperty(value = "申请人员姓名", name = "applyPersonUserName", required = true)
|
|
||||||
private String applyPersonUserName;
|
|
||||||
|
|
||||||
//申请人头像
|
|
||||||
@ApiModelProperty(value = "申请人头像", name = "userFaceUrl", required = true)
|
|
||||||
private String userFaceUrl;
|
|
||||||
//申请人手机号
|
|
||||||
@ApiModelProperty(value = "申请人手机号", name = "userPhone", required = true)
|
|
||||||
private String userPhone;
|
|
||||||
//申请人身份证号码
|
|
||||||
@ApiModelProperty(value = "申请人身份证号码", name = "userCard", required = true)
|
|
||||||
private String userCard;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,15 +24,6 @@ public class ClosedAreaCarApplyPageQry extends PageQuery {
|
||||||
* - `le`: 小于等于比较查询
|
* - `le`: 小于等于比较查询
|
||||||
* - `ne`: 不等比较查询,对应SQL的!=操作符
|
* - `ne`: 不等比较查询,对应SQL的!=操作符
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "车牌号", name = "licenceLo")
|
private Integer likePersonBelongType;
|
||||||
private String licenceLo;
|
|
||||||
@ApiModelProperty(value = "申请人姓名", name = "applyPersonUserName")
|
|
||||||
private String applyPersonUserName;
|
|
||||||
@ApiModelProperty(value = "审核状态(1:审核中;2审核通过; 3:审核驳回)", name = "auditFlag")
|
|
||||||
private Integer auditFlag;
|
|
||||||
@ApiModelProperty(value = "1查本单位申请中,本人待审批的数据传入这个2查已审批,本单位的申请记录的数据传入这个", name = "processOrRecord")
|
|
||||||
private Integer processOrRecord;
|
|
||||||
@ApiModelProperty(value = "1股份2分公司3相关方4临时人员", name = "carBelongType")
|
|
||||||
private Integer carBelongType;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.sql.Date;
|
import java.sql.Date;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -22,8 +20,8 @@ public class ClosedAreaCarApplyCO extends ClientObject {
|
||||||
@ApiModelProperty(value = "主键")
|
@ApiModelProperty(value = "主键")
|
||||||
private Long id;
|
private Long id;
|
||||||
//申请归属1股份2分公司3相关方4临时人员
|
//申请归属1股份2分公司3相关方4临时人员
|
||||||
@ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员5分公司内部车辆")
|
@ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员")
|
||||||
private Integer carBelongType;
|
private Integer personBelongType;
|
||||||
//车牌类型数据字典
|
//车牌类型数据字典
|
||||||
@ApiModelProperty(value = "车牌类型数据字典")
|
@ApiModelProperty(value = "车牌类型数据字典")
|
||||||
private String licenceType;
|
private String licenceType;
|
||||||
|
|
@ -141,10 +139,5 @@ public class ClosedAreaCarApplyCO extends ClientObject {
|
||||||
@ApiModelProperty(value = "驳回原因")
|
@ApiModelProperty(value = "驳回原因")
|
||||||
private String refusalReason;
|
private String refusalReason;
|
||||||
|
|
||||||
@ApiModelProperty(value = "当前用户是否能审核。1,能审核2不能审核", name = "currentUserCanAudit")
|
|
||||||
private Integer currentUserCanAudit;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "人员进出记录", name = "personInOutRecord")
|
|
||||||
private List<HashMap> personInOutRecord;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,9 @@ public class ClosedAreaPersonApplyCO extends ClientObject {
|
||||||
//驳回原因
|
//驳回原因
|
||||||
@ApiModelProperty(value = "驳回原因")
|
@ApiModelProperty(value = "驳回原因")
|
||||||
private String refusalReason;
|
private String refusalReason;
|
||||||
|
//删除标识true false
|
||||||
|
@ApiModelProperty(value = "删除标识true false")
|
||||||
|
private String deleteEnum;
|
||||||
|
|
||||||
@ApiModelProperty(value = "当前用户是否能审核。1,能审核2不能审核", name = "currentUserCanAudit")
|
@ApiModelProperty(value = "当前用户是否能审核。1,能审核2不能审核", name = "currentUserCanAudit")
|
||||||
private Integer currentUserCanAudit;
|
private Integer currentUserCanAudit;
|
||||||
|
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
||||||
package com.zcloud.primeport.domain.enums;
|
|
||||||
|
|
||||||
public enum CloseCarBelongTypeEnum {
|
|
||||||
JGD_VEHICLES(1, "股份申请车辆入场"),
|
|
||||||
FGS_VEHICLES(2, "分公司申请车辆入场"),
|
|
||||||
XGF_VEHICLES(3, "相关方单位车辆"),
|
|
||||||
TEMPORARY_VEHICLES(4, "临时车辆"),
|
|
||||||
FGS_INSIDE_VEHICLES(5, "分公司内部车辆");
|
|
||||||
private Integer code;
|
|
||||||
private String desc;
|
|
||||||
|
|
||||||
CloseCarBelongTypeEnum(Integer code, String desc) {
|
|
||||||
this.code = code;
|
|
||||||
this.desc = desc;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getCode() {
|
|
||||||
return code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getDesc() {
|
|
||||||
return desc;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -14,7 +14,7 @@ import lombok.EqualsAndHashCode;
|
||||||
@Data
|
@Data
|
||||||
public class ClosedAreaCarApplyE extends BaseE {
|
public class ClosedAreaCarApplyE extends BaseE {
|
||||||
//申请归属1股份2分公司3相关方4临时人员
|
//申请归属1股份2分公司3相关方4临时人员
|
||||||
private Integer carBelongType;
|
private Integer personBelongType;
|
||||||
//车牌类型数据字典
|
//车牌类型数据字典
|
||||||
private String licenceType;
|
private String licenceType;
|
||||||
//车牌类型名称0-白牌 1- 蓝牌 2-黄牌 3-绿牌 4-黑牌
|
//车牌类型名称0-白牌 1- 蓝牌 2-黄牌 3-绿牌 4-黑牌
|
||||||
|
|
@ -43,6 +43,10 @@ public class ClosedAreaCarApplyE extends BaseE {
|
||||||
private Long jurisdictionalCorpId;
|
private Long jurisdictionalCorpId;
|
||||||
//区域管辖单位名称
|
//区域管辖单位名称
|
||||||
private String jurisdictionalCorpName;
|
private String jurisdictionalCorpName;
|
||||||
|
//项目id
|
||||||
|
private Long projectId;
|
||||||
|
//项目名称
|
||||||
|
private String projectName;
|
||||||
//申请人员所属企业ID
|
//申请人员所属企业ID
|
||||||
private Long applyPersonCorpId;
|
private Long applyPersonCorpId;
|
||||||
//申请人员所属企业名称
|
//申请人员所属企业名称
|
||||||
|
|
@ -64,10 +68,6 @@ public class ClosedAreaCarApplyE extends BaseE {
|
||||||
//申请人身份证号码
|
//申请人身份证号码
|
||||||
private String userCard;
|
private String userCard;
|
||||||
//随行人员
|
//随行人员
|
||||||
//项目id
|
|
||||||
private Long projectId;
|
|
||||||
//项目名称
|
|
||||||
private String projectName;
|
|
||||||
private String entourage;
|
private String entourage;
|
||||||
//告知签字
|
//告知签字
|
||||||
private Long informSignId;
|
private Long informSignId;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ import lombok.NoArgsConstructor;
|
||||||
public class ClosedAreaCarApplyDO extends BaseDO {
|
public class ClosedAreaCarApplyDO extends BaseDO {
|
||||||
//申请归属1股份2分公司3相关方4临时人员
|
//申请归属1股份2分公司3相关方4临时人员
|
||||||
@ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员")
|
@ApiModelProperty(value = "申请归属1股份2分公司3相关方4临时人员")
|
||||||
private Integer carBelongType;
|
private Integer personBelongType;
|
||||||
//车牌类型数据字典
|
//车牌类型数据字典
|
||||||
@ApiModelProperty(value = "车牌类型数据字典")
|
@ApiModelProperty(value = "车牌类型数据字典")
|
||||||
private String licenceType;
|
private String licenceType;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,9 @@
|
||||||
package com.zcloud.primeport.persistence.mapper;
|
package com.zcloud.primeport.persistence.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import com.zcloud.primeport.persistence.dataobject.ClosedAreaCarApplyDO;
|
import com.zcloud.primeport.persistence.dataobject.ClosedAreaCarApplyDO;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* web-infrastructure
|
* web-infrastructure
|
||||||
*
|
*
|
||||||
|
|
@ -17,6 +13,5 @@ import java.util.Map;
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface ClosedAreaCarApplyMapper extends BaseMapper<ClosedAreaCarApplyDO> {
|
public interface ClosedAreaCarApplyMapper extends BaseMapper<ClosedAreaCarApplyDO> {
|
||||||
|
|
||||||
IPage<ClosedAreaCarApplyDO> listPage(Page<Map<String, Object>> page, Map<String, Object> params, String menuPerms);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
package com.zcloud.primeport.persistence.repository.impl;
|
package com.zcloud.primeport.persistence.repository.impl;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
||||||
import com.zcloud.primeport.domain.enums.MenuEnum;
|
|
||||||
import com.zcloud.primeport.persistence.dataobject.ClosedAreaCarApplyDO;
|
import com.zcloud.primeport.persistence.dataobject.ClosedAreaCarApplyDO;
|
||||||
import com.zcloud.primeport.persistence.mapper.ClosedAreaCarApplyMapper;
|
import com.zcloud.primeport.persistence.mapper.ClosedAreaCarApplyMapper;
|
||||||
import com.zcloud.primeport.persistence.repository.ClosedAreaCarApplyRepository;
|
import com.zcloud.primeport.persistence.repository.ClosedAreaCarApplyRepository;
|
||||||
import com.alibaba.cola.dto.PageResponse;
|
import com.alibaba.cola.dto.PageResponse;
|
||||||
import com.jjb.saas.framework.repository.common.PageHelper;
|
import com.jjb.saas.framework.repository.common.PageHelper;
|
||||||
|
import com.zcloud.gbscommon.utils.PageQueryHelper;
|
||||||
|
import com.zcloud.gbscommon.utils.Query;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl;
|
import com.jjb.saas.framework.repository.repo.impl.BaseRepositoryImpl;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
|
|
@ -27,13 +28,11 @@ public class ClosedAreaCarApplyRepositoryImpl extends BaseRepositoryImpl<ClosedA
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PageResponse<ClosedAreaCarApplyDO> listPage(Map<String, Object> params) {
|
public PageResponse<ClosedAreaCarApplyDO> listPage(Map<String, Object> params) {
|
||||||
Page<Map<String, Object>> page = new Page<>(Integer.parseInt(params.get("pageIndex").toString()),
|
IPage<ClosedAreaCarApplyDO> iPage = new Query<ClosedAreaCarApplyDO>().getPage(params);
|
||||||
Integer.parseInt(params.get("pageSize").toString()));
|
QueryWrapper<ClosedAreaCarApplyDO> queryWrapper = new QueryWrapper<>();
|
||||||
String menuPerms = "";
|
queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params);
|
||||||
if (!org.springframework.util.ObjectUtils.isEmpty(params.get("menuPath"))) {
|
queryWrapper.orderByDesc("create_time");
|
||||||
menuPerms = MenuEnum.getMenuKeyByPath(params.get("menuPath").toString());
|
IPage<ClosedAreaCarApplyDO> result = closedAreaCarApplyMapper.selectPage(iPage, queryWrapper);
|
||||||
}
|
|
||||||
IPage<ClosedAreaCarApplyDO> result = closedAreaCarApplyMapper.listPage(page, params, menuPerms);
|
|
||||||
return PageHelper.pageToResponse(result, result.getRecords());
|
return PageHelper.pageToResponse(result, result.getRecords());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,27 +4,5 @@
|
||||||
|
|
||||||
<mapper namespace="com.zcloud.primeport.persistence.mapper.ClosedAreaCarApplyMapper">
|
<mapper namespace="com.zcloud.primeport.persistence.mapper.ClosedAreaCarApplyMapper">
|
||||||
|
|
||||||
<select id="listPage" resultType="com.zcloud.primeport.persistence.dataobject.ClosedAreaCarApplyDO">
|
|
||||||
select * from closed_area_car_apply c
|
|
||||||
where c.delete_enum = 'FALSE'
|
|
||||||
<if test="params.processOrRecord != null">
|
|
||||||
<if test="params.processOrRecord == 1">
|
|
||||||
AND c.audit_flag = 1
|
|
||||||
</if>
|
|
||||||
<if test="params.processOrRecord == 2">
|
|
||||||
AND c.audit_flag != 1
|
|
||||||
</if>
|
|
||||||
</if>
|
|
||||||
<if test="params.auditFlag != null">
|
|
||||||
AND c.audit_flag = #{params.auditFlag}
|
|
||||||
</if>
|
|
||||||
<if test="params.applyPersonUserName != null and params.applyPersonUserName != ''">
|
|
||||||
AND c.apply_person_user_name like CONCAT('%', #{params.applyPersonUserName}, '%')
|
|
||||||
</if>
|
|
||||||
<if test="params.licenceNo != null and params.licenceNo != ''">
|
|
||||||
AND c.licence_no like CONCAT('%', #{params.licenceNo}, '%')
|
|
||||||
</if>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
|
|
||||||
1273
口门信息管理 - 后端需求文档.md
1273
口门信息管理 - 后端需求文档.md
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue