新增在线审批接口、修改非现场执法管理
This commit is contained in:
parent
cefc1ddff1
commit
016a958418
|
|
@ -55,6 +55,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</browser>
|
</browser>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -152,6 +152,7 @@ public class DeliveryRecordController {
|
||||||
* @return ok
|
* @return ok
|
||||||
*/
|
*/
|
||||||
@PostMapping("/publishVoiceCall")
|
@PostMapping("/publishVoiceCall")
|
||||||
|
|
||||||
public Result<Void> publishVoiceCall(@RequestBody DeliveryRecord deliveryRecord, @CurrentUser RemoteUserInfo user) {
|
public Result<Void> publishVoiceCall(@RequestBody DeliveryRecord deliveryRecord, @CurrentUser RemoteUserInfo user) {
|
||||||
deliveryRecordService.publishVoiceCall(deliveryRecord, user);
|
deliveryRecordService.publishVoiceCall(deliveryRecord, user);
|
||||||
return Ok.of();
|
return Ok.of();
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,6 @@ public class OfficerScheduleService {
|
||||||
log.error("执法人员API令牌IDNO (third-party.enterprise.idno) 未配置。");
|
log.error("执法人员API令牌IDNO (third-party.enterprise.idno) 未配置。");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (thirdPartyProperties.getPerson().getRoles() == null || thirdPartyProperties.getPerson().getRoles().isEmpty()) {
|
if (thirdPartyProperties.getPerson().getRoles() == null || thirdPartyProperties.getPerson().getRoles().isEmpty()) {
|
||||||
log.error("执法人员角色列表 (third-party.person.roles) 未配置。");
|
log.error("执法人员角色列表 (third-party.person.roles) 未配置。");
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||||
class OfficerScheduleServiceTest {
|
class OfficerScheduleServiceTest {
|
||||||
@Autowired
|
@Autowired
|
||||||
private OfficerScheduleService officerScheduleService;
|
private OfficerScheduleService officerScheduleService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private OfficerRepository officerRepository;
|
private OfficerRepository officerRepository;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue