diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/YysDayWorkServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/YysDayWorkServiceImpl.java index b0db4d4..965f8ed 100644 --- a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/YysDayWorkServiceImpl.java +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/YysDayWorkServiceImpl.java @@ -23,15 +23,12 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; -import java.text.SimpleDateFormat; import java.time.LocalDate; -import java.time.LocalDateTime; import java.time.LocalTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.util.*; import java.util.concurrent.CompletableFuture; -import java.util.logging.SimpleFormatter; import java.util.stream.Collectors; /** @@ -505,7 +502,7 @@ public class YysDayWorkServiceImpl extends ServiceImpl { YysDayWorkEntity entity = this.getById(request.getId()); @@ -515,6 +512,15 @@ public class YysDayWorkServiceImpl extends ServiceImpl { + YysDayPackageEntity entity = yysDayPackageService.getById(request.getId()); + entity.setIsConfirm("2"); + yysDayPackageService.updateById(entity); + }); + return "确认成功"; + } return "确认失败"; }