From b50e2f47c108c1975e948c86633cc2f8ea0bd399 Mon Sep 17 00:00:00 2001 From: whb <17803890193@163.com> Date: Wed, 23 Apr 2025 15:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=94=9F=E6=88=90=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E7=9A=84=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../linkCommerce/entity/CgcpdwAnswer.java | 2 +- .../linkCommerce/entity/CgcpdwStuAnswer.java | 2 +- .../linkCommerce/entity/CpjgghStuAnswer.java | 2 +- .../linkCommerce/entity/CpyxdwStuAnswer.java | 2 +- .../linkCommerce/entity/FbqdStuAnswer.java | 2 +- .../linkCommerce/mapper/StuUserMapper.java | 40 ---- .../mappers/StuSpendingLevelMapper.xml | 225 +----------------- 7 files changed, 6 insertions(+), 269 deletions(-) diff --git a/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwAnswer.java b/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwAnswer.java index f0fbcbc..00c1ec7 100644 --- a/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwAnswer.java +++ b/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwAnswer.java @@ -20,7 +20,7 @@ public class CgcpdwAnswer { @ApiModelProperty(notes = "典型采购品项(多个品项用逗号分隔)") private String typicalItems; - @ApiModelProperty(notes = "核心特征(JSON格式,如{"质量要求":"高","交付周期":"短"})") + @ApiModelProperty(notes = "核心特征(JSON格式,") private String coreFeatures; @ApiModelProperty(notes = "模型定位依据(500字以内分析说明)") diff --git a/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwStuAnswer.java b/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwStuAnswer.java index e097b74..89116f1 100644 --- a/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwStuAnswer.java +++ b/src/main/java/com/sztzjy/linkCommerce/entity/CgcpdwStuAnswer.java @@ -28,7 +28,7 @@ public class CgcpdwStuAnswer { @ApiModelProperty(notes = "典型采购品项(多个品项用逗号分隔)") private String typicalItems; - @ApiModelProperty(notes = "核心特征(JSON格式,如{"质量要求":"高","交付周期":"短"})") + @ApiModelProperty(notes = "核心特征") private String coreFeatures; @ApiModelProperty(notes = "模型定位依据(500字以内分析说明)") diff --git a/src/main/java/com/sztzjy/linkCommerce/entity/CpjgghStuAnswer.java b/src/main/java/com/sztzjy/linkCommerce/entity/CpjgghStuAnswer.java index b162fdd..8df4ad0 100644 --- a/src/main/java/com/sztzjy/linkCommerce/entity/CpjgghStuAnswer.java +++ b/src/main/java/com/sztzjy/linkCommerce/entity/CpjgghStuAnswer.java @@ -47,7 +47,7 @@ public class CpjgghStuAnswer { @ApiModelProperty(notes = "用户ID(关联userinfo表)") private String userId; - @ApiModelProperty(notes = "产品分类列表(JSON数组格式,如["女装","男装","童装"])") + @ApiModelProperty(notes = "产品分类列表(JSON数组格式,如") private String productCategories; @ApiModelProperty(notes = "结构合理性分析(500字以内文字说明)") diff --git a/src/main/java/com/sztzjy/linkCommerce/entity/CpyxdwStuAnswer.java b/src/main/java/com/sztzjy/linkCommerce/entity/CpyxdwStuAnswer.java index e2a5782..3f0a788 100644 --- a/src/main/java/com/sztzjy/linkCommerce/entity/CpyxdwStuAnswer.java +++ b/src/main/java/com/sztzjy/linkCommerce/entity/CpyxdwStuAnswer.java @@ -28,7 +28,7 @@ public class CpyxdwStuAnswer { @ApiModelProperty(notes = "状态:draft-草稿/submitted-已提交/graded-已评分") private String status; - @ApiModelProperty(notes = "定位坐标数据(JSON格式,如{"产品A":[3.5,4.2],"产品B":[2.8,3.9]})") + @ApiModelProperty(notes = "定位坐标数据(JSON格式,") private String positionData; @ApiModelProperty(notes = "定位分析说明(500字以内)") diff --git a/src/main/java/com/sztzjy/linkCommerce/entity/FbqdStuAnswer.java b/src/main/java/com/sztzjy/linkCommerce/entity/FbqdStuAnswer.java index 3135304..3ec0206 100644 --- a/src/main/java/com/sztzjy/linkCommerce/entity/FbqdStuAnswer.java +++ b/src/main/java/com/sztzjy/linkCommerce/entity/FbqdStuAnswer.java @@ -37,7 +37,7 @@ public class FbqdStuAnswer { @ApiModelProperty(notes = "订单金额数据(JSON数组格式,如[12000,15000,18000],单位:元)") private String orderAmount; - @ApiModelProperty(notes = "核心关键词(多个用逗号分隔,如"母婴用品,婴儿推车")") + @ApiModelProperty(notes = "核心关键词(多个用逗号分隔,") private String keywords; @ApiModelProperty(notes = "场景推广方案(500字以内描述)") diff --git a/src/main/java/com/sztzjy/linkCommerce/mapper/StuUserMapper.java b/src/main/java/com/sztzjy/linkCommerce/mapper/StuUserMapper.java index a5aba41..18df31f 100644 --- a/src/main/java/com/sztzjy/linkCommerce/mapper/StuUserMapper.java +++ b/src/main/java/com/sztzjy/linkCommerce/mapper/StuUserMapper.java @@ -32,45 +32,5 @@ public interface StuUserMapper { int updateByPrimaryKey(StuUser record); - List getStartCourseNameList(@Param("classNames")List classNames); - List selectByCourseName(String startCourseName); - - /** - * 查询学校所有班级名称 - * @param schoolId 学校ID学校ID - * @return 班级名称集合 - */ - List selectByClassName(String schoolId); - - @Select("select school_id from stu_user group by school_id") - List selectSchool(); - - /** - * 根据班级名称查询所有不在班级集合中的学生信息 - * @param strings 班级名称集合 - * @param schoolId 学校ID - * @return 学生信息 - */ - List selectByNoClassName(@Param("strings") List strings,String schoolId); - - /** - * 根据班级名称查询学生信息 - * @param lists 班级名称集合 - * @param schoolId 学校ID - * @return 学生信息 - */ - List selectStuList(@Param("lists") List lists, String schoolId); - - @Select("SELECT class_name, class_id\n" + - "FROM stu_user\n" + - "WHERE school_id = #{schoolId}\n" + - " AND class_name IS NOT NULL\n" + - "GROUP BY class_name, class_id") - List> getClassList(String schoolId); - - @Select("SELECT school_name \n" + - "FROM stu_user\n" + - "WHERE school_id = #{schoolId} LIMIT 1") - String selectBySchoolName(String schoolId); } \ No newline at end of file diff --git a/src/main/resources/mappers/StuSpendingLevelMapper.xml b/src/main/resources/mappers/StuSpendingLevelMapper.xml index e6dc520..425ec46 100644 --- a/src/main/resources/mappers/StuSpendingLevelMapper.xml +++ b/src/main/resources/mappers/StuSpendingLevelMapper.xml @@ -225,228 +225,5 @@ consumer_goods = #{consumerGoods,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER} - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - - - - - - - - and ${criterion.condition} - - - and ${criterion.condition} #{criterion.value} - - - and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} - - - and ${criterion.condition} - - #{listItem} - - - - - - - - - - - id, gender, age, annual_income, spending_score, consumer_goods - - - - - delete from stu_spending_level - where id = #{id,jdbcType=INTEGER} - - - delete from stu_spending_level - - - - - - insert into stu_spending_level (id, gender, age, - annual_income, spending_score, consumer_goods - ) - values (#{id,jdbcType=INTEGER}, #{gender,jdbcType=INTEGER}, #{age,jdbcType=INTEGER}, - #{annualIncome,jdbcType=INTEGER}, #{spendingScore,jdbcType=INTEGER}, #{consumerGoods,jdbcType=VARCHAR} - ) - - - insert into stu_spending_level - - - id, - - - gender, - - - age, - - - annual_income, - - - spending_score, - - - consumer_goods, - - - - - #{id,jdbcType=INTEGER}, - - - #{gender,jdbcType=INTEGER}, - - - #{age,jdbcType=INTEGER}, - - - #{annualIncome,jdbcType=INTEGER}, - - - #{spendingScore,jdbcType=INTEGER}, - - - #{consumerGoods,jdbcType=VARCHAR}, - - - - - - update stu_spending_level - - - id = #{record.id,jdbcType=INTEGER}, - - - gender = #{record.gender,jdbcType=INTEGER}, - - - age = #{record.age,jdbcType=INTEGER}, - - - annual_income = #{record.annualIncome,jdbcType=INTEGER}, - - - spending_score = #{record.spendingScore,jdbcType=INTEGER}, - - - consumer_goods = #{record.consumerGoods,jdbcType=VARCHAR}, - - - - - - - - update stu_spending_level - set id = #{record.id,jdbcType=INTEGER}, - gender = #{record.gender,jdbcType=INTEGER}, - age = #{record.age,jdbcType=INTEGER}, - annual_income = #{record.annualIncome,jdbcType=INTEGER}, - spending_score = #{record.spendingScore,jdbcType=INTEGER}, - consumer_goods = #{record.consumerGoods,jdbcType=VARCHAR} - - - - - - update stu_spending_level - - - gender = #{gender,jdbcType=INTEGER}, - - - age = #{age,jdbcType=INTEGER}, - - - annual_income = #{annualIncome,jdbcType=INTEGER}, - - - spending_score = #{spendingScore,jdbcType=INTEGER}, - - - consumer_goods = #{consumerGoods,jdbcType=VARCHAR}, - - - where id = #{id,jdbcType=INTEGER} - - - update stu_spending_level - set gender = #{gender,jdbcType=INTEGER}, - age = #{age,jdbcType=INTEGER}, - annual_income = #{annualIncome,jdbcType=INTEGER}, - spending_score = #{spendingScore,jdbcType=INTEGER}, - consumer_goods = #{consumerGoods,jdbcType=VARCHAR} - where id = #{id,jdbcType=INTEGER} - + \ No newline at end of file