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

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>
</el-dialog>
</template>
</browser>
</template>

View File

@ -152,6 +152,7 @@ public class DeliveryRecordController {
* @return ok
*/
@PostMapping("/publishVoiceCall")
public Result<Void> publishVoiceCall(@RequestBody DeliveryRecord deliveryRecord, @CurrentUser RemoteUserInfo user) {
deliveryRecordService.publishVoiceCall(deliveryRecord, user);
return Ok.of();

View File

@ -85,7 +85,6 @@ public class OfficerScheduleService {
log.error("执法人员API令牌IDNO (third-party.enterprise.idno) 未配置。");
return;
}
if (thirdPartyProperties.getPerson().getRoles() == null || thirdPartyProperties.getPerson().getRoles().isEmpty()) {
log.error("执法人员角色列表 (third-party.person.roles) 未配置。");
return;

View File

@ -26,6 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
class OfficerScheduleServiceTest {
@Autowired
private OfficerScheduleService officerScheduleService;
@Autowired
private OfficerRepository officerRepository;