diff --git a/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java b/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java index 2e1d229..207e60b 100644 --- a/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java +++ b/luoo_user/src/main/java/com/luoo/user/pojo/TaskPoint.java @@ -81,4 +81,7 @@ public class TaskPoint implements Serializable { @ApiModelProperty("是否生效,1-生效 2-不生效") private Integer valid; + @ApiModelProperty("APP动作") + private String action; + } \ No newline at end of file diff --git a/luoo_user/src/main/java/com/luoo/user/service/TaskPointService.java b/luoo_user/src/main/java/com/luoo/user/service/TaskPointService.java index 4e7d6a1..629d826 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/TaskPointService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/TaskPointService.java @@ -98,6 +98,7 @@ public class TaskPointService { old.setScore(taskPoint.getScore()); old.setType(taskPoint.getType()); old.setUpdateUser(userLoginDto.getUserId()); + old.setAction(taskPoint.getAction()); taskPointDao.save(taskPoint); redisTemplate.delete(TASK_POINT + taskPoint.getId()); diff --git a/luoo_user/src/main/resources/sql/20240815.sql b/luoo_user/src/main/resources/sql/20240815.sql new file mode 100644 index 0000000..970a65e --- /dev/null +++ b/luoo_user/src/main/resources/sql/20240815.sql @@ -0,0 +1,3 @@ +alter table tb_task_point + add action varchar(50) null comment 'APP动作'; +