修改话费

new-dev
袁野 2 years ago
parent d9af516677
commit 5f46c6cea2
  1. 20
      hai-service/src/main/java/com/hai/dao/BsPushScheduldTaskMapper.java
  2. 10
      hai-service/src/main/java/com/hai/dao/BsPushScheduldTaskSqlProvider.java
  3. 6
      hai-service/src/main/java/com/hai/entity/BsPushScheduleTask.java

@ -1,6 +1,6 @@
package com.hai.dao; package com.hai.dao;
import com.hai.entity.BsPushScheduldTask; import com.hai.entity.BsPushScheduleTask;
import com.hai.entity.BsPushScheduldTaskExample; import com.hai.entity.BsPushScheduldTaskExample;
import java.util.List; import java.util.List;
import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Delete;
@ -53,11 +53,11 @@ public interface BsPushScheduldTaskMapper extends BsPushScheduldTaskMapperExt {
"#{ext6,jdbcType=VARCHAR})" "#{ext6,jdbcType=VARCHAR})"
}) })
@Options(useGeneratedKeys=true,keyProperty="id") @Options(useGeneratedKeys=true,keyProperty="id")
int insert(BsPushScheduldTask record); int insert(BsPushScheduleTask record);
@InsertProvider(type=BsPushScheduldTaskSqlProvider.class, method="insertSelective") @InsertProvider(type=BsPushScheduldTaskSqlProvider.class, method="insertSelective")
@Options(useGeneratedKeys=true,keyProperty="id") @Options(useGeneratedKeys=true,keyProperty="id")
int insertSelective(BsPushScheduldTask record); int insertSelective(BsPushScheduleTask record);
@SelectProvider(type=BsPushScheduldTaskSqlProvider.class, method="selectByExample") @SelectProvider(type=BsPushScheduldTaskSqlProvider.class, method="selectByExample")
@Results({ @Results({
@ -76,7 +76,7 @@ public interface BsPushScheduldTaskMapper extends BsPushScheduldTaskMapperExt {
@Result(column="ext_5", property="ext5", jdbcType=JdbcType.VARCHAR), @Result(column="ext_5", property="ext5", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_6", property="ext6", jdbcType=JdbcType.VARCHAR) @Result(column="ext_6", property="ext6", jdbcType=JdbcType.VARCHAR)
}) })
List<BsPushScheduldTask> selectByExample(BsPushScheduldTaskExample example); List<BsPushScheduleTask> selectByExample(BsPushScheduldTaskExample example);
@Select({ @Select({
"select", "select",
@ -101,16 +101,16 @@ public interface BsPushScheduldTaskMapper extends BsPushScheduldTaskMapperExt {
@Result(column="ext_5", property="ext5", jdbcType=JdbcType.VARCHAR), @Result(column="ext_5", property="ext5", jdbcType=JdbcType.VARCHAR),
@Result(column="ext_6", property="ext6", jdbcType=JdbcType.VARCHAR) @Result(column="ext_6", property="ext6", jdbcType=JdbcType.VARCHAR)
}) })
BsPushScheduldTask selectByPrimaryKey(Long id); BsPushScheduleTask selectByPrimaryKey(Long id);
@UpdateProvider(type=BsPushScheduldTaskSqlProvider.class, method="updateByExampleSelective") @UpdateProvider(type=BsPushScheduldTaskSqlProvider.class, method="updateByExampleSelective")
int updateByExampleSelective(@Param("record") BsPushScheduldTask record, @Param("example") BsPushScheduldTaskExample example); int updateByExampleSelective(@Param("record") BsPushScheduleTask record, @Param("example") BsPushScheduldTaskExample example);
@UpdateProvider(type=BsPushScheduldTaskSqlProvider.class, method="updateByExample") @UpdateProvider(type=BsPushScheduldTaskSqlProvider.class, method="updateByExample")
int updateByExample(@Param("record") BsPushScheduldTask record, @Param("example") BsPushScheduldTaskExample example); int updateByExample(@Param("record") BsPushScheduleTask record, @Param("example") BsPushScheduldTaskExample example);
@UpdateProvider(type=BsPushScheduldTaskSqlProvider.class, method="updateByPrimaryKeySelective") @UpdateProvider(type=BsPushScheduldTaskSqlProvider.class, method="updateByPrimaryKeySelective")
int updateByPrimaryKeySelective(BsPushScheduldTask record); int updateByPrimaryKeySelective(BsPushScheduleTask record);
@Update({ @Update({
"update bs_push_scheduld_task", "update bs_push_scheduld_task",
@ -129,5 +129,5 @@ public interface BsPushScheduldTaskMapper extends BsPushScheduldTaskMapperExt {
"ext_6 = #{ext6,jdbcType=VARCHAR}", "ext_6 = #{ext6,jdbcType=VARCHAR}",
"where id = #{id,jdbcType=BIGINT}" "where id = #{id,jdbcType=BIGINT}"
}) })
int updateByPrimaryKey(BsPushScheduldTask record); int updateByPrimaryKey(BsPushScheduleTask record);
} }

@ -1,6 +1,6 @@
package com.hai.dao; package com.hai.dao;
import com.hai.entity.BsPushScheduldTask; import com.hai.entity.BsPushScheduleTask;
import com.hai.entity.BsPushScheduldTaskExample.Criteria; import com.hai.entity.BsPushScheduldTaskExample.Criteria;
import com.hai.entity.BsPushScheduldTaskExample.Criterion; import com.hai.entity.BsPushScheduldTaskExample.Criterion;
import com.hai.entity.BsPushScheduldTaskExample; import com.hai.entity.BsPushScheduldTaskExample;
@ -24,7 +24,7 @@ public class BsPushScheduldTaskSqlProvider {
return sql.toString(); return sql.toString();
} }
public String insertSelective(BsPushScheduldTask record) { public String insertSelective(BsPushScheduleTask record) {
SQL sql = new SQL(); SQL sql = new SQL();
sql.INSERT_INTO("bs_push_scheduld_task"); sql.INSERT_INTO("bs_push_scheduld_task");
@ -114,7 +114,7 @@ public class BsPushScheduldTaskSqlProvider {
} }
public String updateByExampleSelective(Map<String, Object> parameter) { public String updateByExampleSelective(Map<String, Object> parameter) {
BsPushScheduldTask record = (BsPushScheduldTask) parameter.get("record"); BsPushScheduleTask record = (BsPushScheduleTask) parameter.get("record");
BsPushScheduldTaskExample example = (BsPushScheduldTaskExample) parameter.get("example"); BsPushScheduldTaskExample example = (BsPushScheduldTaskExample) parameter.get("example");
SQL sql = new SQL(); SQL sql = new SQL();
@ -204,7 +204,7 @@ public class BsPushScheduldTaskSqlProvider {
return sql.toString(); return sql.toString();
} }
public String updateByPrimaryKeySelective(BsPushScheduldTask record) { public String updateByPrimaryKeySelective(BsPushScheduleTask record) {
SQL sql = new SQL(); SQL sql = new SQL();
sql.UPDATE("bs_push_scheduld_task"); sql.UPDATE("bs_push_scheduld_task");
@ -357,4 +357,4 @@ public class BsPushScheduldTaskSqlProvider {
sql.WHERE(sb.toString()); sql.WHERE(sb.toString());
} }
} }
} }

@ -12,7 +12,7 @@ import java.util.Date;
* 代码由工具生成 * 代码由工具生成
* *
**/ **/
public class BsPushScheduldTask implements Serializable { public class BsPushScheduleTask implements Serializable {
/** /**
* ID * ID
*/ */
@ -208,7 +208,7 @@ public class BsPushScheduldTask implements Serializable {
if (getClass() != that.getClass()) { if (getClass() != that.getClass()) {
return false; return false;
} }
BsPushScheduldTask other = (BsPushScheduldTask) that; BsPushScheduleTask other = (BsPushScheduleTask) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getSourceType() == null ? other.getSourceType() == null : this.getSourceType().equals(other.getSourceType())) && (this.getSourceType() == null ? other.getSourceType() == null : this.getSourceType().equals(other.getSourceType()))
&& (this.getSourceId() == null ? other.getSourceId() == null : this.getSourceId().equals(other.getSourceId())) && (this.getSourceId() == null ? other.getSourceId() == null : this.getSourceId().equals(other.getSourceId()))
@ -270,4 +270,4 @@ public class BsPushScheduldTask implements Serializable {
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
} }
Loading…
Cancel
Save