修改表前缀

This commit is contained in:
yangjun 2025-03-25 08:47:58 +08:00
parent 4442f7e481
commit 1b97f617f8
7 changed files with 23 additions and 23 deletions

View File

@ -25,7 +25,7 @@ import lombok.experimental.Accessors;
* @Version: V1.0 * @Version: V1.0
*/ */
@Data @Data
@TableName("config_material_category") @TableName("nu_config_material_category")
@Accessors(chain = true) @Accessors(chain = true)
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@ApiModel(value="config_material_category对象", description="物料类别") @ApiModel(value="config_material_category对象", description="物料类别")

View File

@ -25,7 +25,7 @@ import lombok.experimental.Accessors;
* @Version: V1.0 * @Version: V1.0
*/ */
@Data @Data
@TableName("config_material_info") @TableName("nu_config_material_info")
@Accessors(chain = true) @Accessors(chain = true)
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@ApiModel(value="config_material_info对象", description="物料信息") @ApiModel(value="config_material_info对象", description="物料信息")
@ -37,18 +37,18 @@ public class ConfigMaterialInfo implements Serializable {
@ApiModelProperty(value = "id") @ApiModelProperty(value = "id")
private java.lang.String id; private java.lang.String id;
/**物料类别*/ /**物料类别*/
@Excel(name = "物料类别", width = 15, dictTable = "config_material_category", dicText = "category_name", dicCode = "id") @Excel(name = "物料类别", width = 15, dictTable = "nu_config_material_category", dicText = "category_name", dicCode = "id")
@Dict(dictTable = "config_material_category", dicText = "category_name", dicCode = "id") @Dict(dictTable = "nu_config_material_category", dicText = "category_name", dicCode = "id")
@ApiModelProperty(value = "物料类别") @ApiModelProperty(value = "物料类别")
private java.lang.String categoryId; private java.lang.String categoryId;
/**物料类型*/ /**物料类型*/
@Excel(name = "物料类型", width = 15, dictTable = "config_material_type", dicText = "type_name", dicCode = "id") @Excel(name = "物料类型", width = 15, dictTable = "nu_config_material_type", dicText = "type_name", dicCode = "id")
@Dict(dictTable = "config_material_type", dicText = "type_name", dicCode = "id") @Dict(dictTable = "nu_config_material_type", dicText = "type_name", dicCode = "id")
@ApiModelProperty(value = "物料类型") @ApiModelProperty(value = "物料类型")
private java.lang.String typeId; private java.lang.String typeId;
/**用药类型*/ /**用药类型*/
@Excel(name = "用药类型", width = 15, dictTable = "config_material_medication", dicText = "medication_name", dicCode = "id") @Excel(name = "用药类型", width = 15, dictTable = "nu_config_material_medication", dicText = "medication_name", dicCode = "id")
@Dict(dictTable = "config_material_medication", dicText = "medication_name", dicCode = "id") @Dict(dictTable = "nu_config_material_medication", dicText = "medication_name", dicCode = "id")
@ApiModelProperty(value = "用药类型") @ApiModelProperty(value = "用药类型")
private java.lang.String medicationId; private java.lang.String medicationId;
/**货品名称*/ /**货品名称*/
@ -108,9 +108,9 @@ public class ConfigMaterialInfo implements Serializable {
@ApiModelProperty(value = "多单位采购默认使用 0子集 1父级 2爷级") @ApiModelProperty(value = "多单位采购默认使用 0子集 1父级 2爷级")
private java.lang.String multiUnitType; private java.lang.String multiUnitType;
/**供应商*/ /**供应商*/
@Excel(name = "供应商", width = 15,dictTable = "config_suppliers_info" , dicCode = "id" , dicText = "suppliers_name") @Excel(name = "供应商", width = 15,dictTable = "nu_config_suppliers_info" , dicCode = "id" , dicText = "suppliers_name")
@ApiModelProperty(value = "供应商") @ApiModelProperty(value = "供应商")
@Dict(dictTable = "config_suppliers_info" , dicCode = "id" , dicText = "suppliers_name") @Dict(dictTable = "nu_config_suppliers_info" , dicCode = "id" , dicText = "suppliers_name")
private java.lang.String suppliers; private java.lang.String suppliers;
/**物料图片*/ /**物料图片*/
@ApiModelProperty(value = "物料图片") @ApiModelProperty(value = "物料图片")

View File

@ -27,7 +27,7 @@ import lombok.experimental.Accessors;
* @Version: V1.0 * @Version: V1.0
*/ */
@Data @Data
@TableName("config_material_medication") @TableName("nu_config_material_medication")
@Accessors(chain = true) @Accessors(chain = true)
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@ApiModel(value="config_material_medication对象", description="物料用药类型") @ApiModel(value="config_material_medication对象", description="物料用药类型")
@ -39,13 +39,13 @@ public class ConfigMaterialMedication implements Serializable {
@ApiModelProperty(value = "id") @ApiModelProperty(value = "id")
private java.lang.String id; private java.lang.String id;
/**物料类别*/ /**物料类别*/
@Excel(name = "物料类别", width = 15, dictTable = "config_material_category", dicText = "category_name", dicCode = "id") @Excel(name = "物料类别", width = 15, dictTable = "nu_config_material_category", dicText = "category_name", dicCode = "id")
@Dict(dictTable = "config_material_category", dicText = "category_name", dicCode = "id") @Dict(dictTable = "nu_config_material_category", dicText = "category_name", dicCode = "id")
@ApiModelProperty(value = "物料类别") @ApiModelProperty(value = "物料类别")
private java.lang.String categoryId; private java.lang.String categoryId;
/**物料类型*/ /**物料类型*/
@Excel(name = "物料类型", width = 15, dictTable = "config_material_type", dicText = "type_name", dicCode = "id") @Excel(name = "物料类型", width = 15, dictTable = "nu_config_material_type", dicText = "type_name", dicCode = "id")
@Dict(dictTable = "config_material_type", dicText = "type_name", dicCode = "id") @Dict(dictTable = "nu_config_material_type", dicText = "type_name", dicCode = "id")
@ApiModelProperty(value = "物料类型") @ApiModelProperty(value = "物料类型")
private java.lang.String typeId; private java.lang.String typeId;
/**名称*/ /**名称*/

View File

@ -27,7 +27,7 @@ import lombok.experimental.Accessors;
* @Version: V1.0 * @Version: V1.0
*/ */
@Data @Data
@TableName("config_material_type") @TableName("nu_config_material_type")
@Accessors(chain = true) @Accessors(chain = true)
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@ApiModel(value="config_material_type对象", description="物料类型") @ApiModel(value="config_material_type对象", description="物料类型")
@ -39,9 +39,9 @@ public class ConfigMaterialType implements Serializable {
@ApiModelProperty(value = "id") @ApiModelProperty(value = "id")
private java.lang.String id; private java.lang.String id;
/**物料类别*/ /**物料类别*/
@Excel(name = "物料类别", width = 15,dictTable = "config_material_category" , dicText = "category_name" , dicCode = "id") @Excel(name = "物料类别", width = 15,dictTable = "nu_config_material_category" , dicText = "category_name" , dicCode = "id")
@ApiModelProperty(value = "物料类别") @ApiModelProperty(value = "物料类别")
@Dict(dictTable = "config_material_category" , dicText = "category_name" , dicCode = "id") @Dict(dictTable = "nu_config_material_category" , dicText = "category_name" , dicCode = "id")
private java.lang.String categoryId; private java.lang.String categoryId;
/**物料类型*/ /**物料类型*/
@Excel(name = "物料类型", width = 15) @Excel(name = "物料类型", width = 15)

View File

@ -13,9 +13,9 @@
a.id as category_id, a.id as category_id,
b.id as type_id, b.id as type_id,
c.id as medication_id c.id as medication_id
from config_material_category a from nu_config_material_category a
LEFT JOIN config_material_type b on a.id = b.category_id and b.iz_enabled = 0 and b.del_flag = 0 LEFT JOIN nu_config_material_type b on a.id = b.category_id and b.iz_enabled = 0 and b.del_flag = 0
LEFT JOIN config_material_medication c on b.id = c.type_id and c.iz_enabled = 0 and c.del_flag = 0 LEFT JOIN nu_config_material_medication c on b.id = c.type_id and c.iz_enabled = 0 and c.del_flag = 0
where a.iz_enabled = 0 and a.del_flag = 0 where a.iz_enabled = 0 and a.del_flag = 0
order by a.sort asc,b.id asc,c.id asc ) a order by a.sort asc,b.id asc,c.id asc ) a
${ew.customSqlSegment} ${ew.customSqlSegment}

View File

@ -27,7 +27,7 @@ import lombok.experimental.Accessors;
* @Version: V1.0 * @Version: V1.0
*/ */
@Data @Data
@TableName("config_suppliers_info") @TableName("nu_config_suppliers_info")
@Accessors(chain = true) @Accessors(chain = true)
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@ApiModel(value="config_suppliers_info对象", description="供应商") @ApiModel(value="config_suppliers_info对象", description="供应商")

View File

@ -1,6 +1,6 @@
#mysql #mysql
diver_name=com.mysql.jdbc.Driver diver_name=com.mysql.jdbc.Driver
url=jdbc:mysql://1.92.152.160:33061/nursing_unit?useUnicode=true&characterEncoding=UTF-8 url=jdbc:mysql://1.92.152.160:33061/nursing_unit_001?useUnicode=true&characterEncoding=UTF-8
username=root username=root
password=root password=root
database_name=jeecg-boot database_name=jeecg-boot