修改字段信息

master
Yueng 2024-08-23 21:51:12 +08:00
parent 2d87630a34
commit 2587d6aeea
4 changed files with 5 additions and 4 deletions

View File

@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.TableName;
import com.muyu.common.core.enums.SysPayType; import com.muyu.common.core.enums.SysPayType;
import com.muyu.common.core.web.domain.BaseEntity; import com.muyu.common.core.web.domain.BaseEntity;
import lombok.*; import lombok.*;
import lombok.experimental.SuperBuilder;
import java.util.function.Supplier; import java.util.function.Supplier;
@ -15,7 +16,7 @@ import java.util.function.Supplier;
* @Date2024/8/23 11:39 * @Date2024/8/23 11:39
*/ */
@Data @Data
@Builder @SuperBuilder
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor @NoArgsConstructor
@TableName("TableField") @TableName("TableField")

View File

@ -20,5 +20,5 @@ public interface TableFieldServicelimt extends IService<TableField> {
* @param limit * @param limit
* @return * @return
*/ */
List<TableField> selectOrderPayByAppCodeAndLimit(String fieId, int limit); List<TableField> selectOrderPayByAppCodeAndLimit(Long fieId, int limit);
} }

View File

@ -154,7 +154,7 @@ public class DataSourceServiceImpl
ArrayList<TableField> tableFields = new ArrayList<>(); ArrayList<TableField> tableFields = new ArrayList<>();
while (rs.next()) { while (rs.next()) {
TableField build = TableField.builder() TableField build = TableField.builder()
.fieId(rs.getString("fieId")) .fieId(rs.getLong("fieId"))
.type(rs.getString("type")) .type(rs.getString("type"))
.collation(rs.getString("collation")) .collation(rs.getString("collation"))
.Null(rs.getString("Null")) .Null(rs.getString("Null"))

View File

@ -23,7 +23,7 @@ public class TableFieldServicelimtImpl
implements TableFieldServicelimt { implements TableFieldServicelimt {
@Override @Override
public List<TableField> selectOrderPayByAppCodeAndLimit(String fieId, int limit) { public List<TableField> selectOrderPayByAppCodeAndLimit(Long fieId, int limit) {
LambdaQueryWrapper<TableField> objectLambdaQueryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<TableField> objectLambdaQueryWrapper = new LambdaQueryWrapper<>();
objectLambdaQueryWrapper.eq(TableField::getFieId, fieId); objectLambdaQueryWrapper.eq(TableField::getFieId, fieId);