新增在线审批接口、修改非现场执法管理

This commit is contained in:
renhao02 2025-06-20 16:52:42 +08:00
parent cefc1ddff1
commit 016a958418
4 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,7 @@
</template> </template>
</el-dialog> </el-dialog>
</template> </template>
</browser> </browser>
</template> </template>

View File

@ -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();

View File

@ -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;

View File

@ -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;