企业端,个人信息修改
This commit is contained in:
+2
-2
@@ -81,7 +81,7 @@ public class PayCompanyManagementController extends JeroController<PayCompanyMan
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
@CompanyNameTranslate(fieldId = "id")
|
||||
// @CompanyNameTranslate(fieldId = "id")
|
||||
@RequiresPermissions("company:search")
|
||||
@ApiOperation(value="企业管理-分页列表查询", notes="企业管理-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
@@ -325,7 +325,7 @@ public class PayCompanyManagementController extends JeroController<PayCompanyMan
|
||||
if(Objects.isNull(payCompanyManagementOld)){
|
||||
return Result.error("企业不存在!");
|
||||
}
|
||||
if(Objects.equals(payCompanyManagementOld.getCompanyName(),payCompanyManagement.getCompanyName())){
|
||||
if(!Objects.equals(payCompanyManagementOld.getCompanyName(),payCompanyManagement.getCompanyName())){
|
||||
return Result.error("企业名称不可修改!");
|
||||
}
|
||||
payCompanyManagement.setStatus(payCompanyManagementOld.getStatus());
|
||||
|
||||
+2
-2
@@ -329,10 +329,10 @@ public class PayContactsManagementController extends JeroController<PayContactsM
|
||||
if(Objects.isNull(payContactsManagementOld)){
|
||||
return Result.error("联系人不存在!");
|
||||
}
|
||||
if(Objects.equals(payContactsManagementOld.getName(),payContactsManagement.getName())){
|
||||
if(!Objects.equals(payContactsManagementOld.getName(),payContactsManagement.getName())){
|
||||
return Result.error("姓名不可修改!");
|
||||
}
|
||||
if(Objects.equals(payContactsManagementOld.getPhone(),payContactsManagement.getPhone())){
|
||||
if(!Objects.equals(payContactsManagementOld.getPhone(),payContactsManagement.getPhone())){
|
||||
return Result.error("手机号不可修改!");
|
||||
}
|
||||
try {
|
||||
|
||||
+2
-1
@@ -33,6 +33,7 @@
|
||||
pic.pack,
|
||||
pic.pack_year AS packYear,
|
||||
pic.status,
|
||||
if(pic.status == 2,1,0) as statusOrder,
|
||||
pic.create_by AS createBy,
|
||||
pic.create_time AS createTime,
|
||||
pic.update_by AS updateBy,
|
||||
@@ -90,7 +91,7 @@
|
||||
AND aa.associatedProject LIKE CONCAT('%',CONCAT(#{projectName},'%'))
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY aa.chargeStatus desc,aa.createTime desc
|
||||
ORDER BY aa.chargeStatus desc,aa.statusOrder desc, aa.createTime desc
|
||||
</select>
|
||||
<select id="getAssociated" resultType="com.jero.contract.vo.ProjectOutput">
|
||||
SELECT * FROM (
|
||||
|
||||
@@ -44,9 +44,9 @@ spring:
|
||||
job-store-type: jdbc
|
||||
initialize-schema: embedded
|
||||
#设置自动启动,默认为 true
|
||||
auto-startup: true
|
||||
auto-startup: false
|
||||
#启动时更新己存在的Job
|
||||
overwrite-existing-jobs: true
|
||||
overwrite-existing-jobs: false
|
||||
properties:
|
||||
org:
|
||||
quartz:
|
||||
@@ -148,7 +148,7 @@ spring:
|
||||
redis:
|
||||
database: 14
|
||||
# host: 121.36.69.172
|
||||
host: 192.168.18.254
|
||||
host: localhost
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 8 #最大连接数据库连接数,设 0 为没有限制
|
||||
@@ -157,7 +157,7 @@ spring:
|
||||
min-idle: 0 #最小等待连接中的数量,设 0 为没有限制
|
||||
shutdown-timeout: 100ms
|
||||
# password: hzwlsoft.com
|
||||
password: 123456
|
||||
password:
|
||||
# port: 4780
|
||||
port: 6379
|
||||
|
||||
|
||||
Reference in New Issue
Block a user