危化品全生命周期管理后端
“djh”
2025-08-12 c04f2d4a58bd72449b2212ed2f8b0c3ac9ec96be
修改
已修改2个文件
15 ■■■■■ 文件已修改
hazmat-system/src/main/java/com/gkhy/hazmat/system/domain/HzHazmatBasic.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hazmat-system/src/main/resources/mapper/system/SysUserMapper.xml 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
hazmat-system/src/main/java/com/gkhy/hazmat/system/domain/HzHazmatBasic.java
@@ -61,13 +61,13 @@
    @TableField("hazmat_character")
    private String hazmatCharacter;
    @NotBlank(message = "供应商不能为空")
    @ApiModelProperty(value = "供应商",required = true)
    @ApiModelProperty(value = "供应商")
    @TableField("supplier")
    private String supplier;
    @NotBlank(message = "厂家不能为空")
    @ApiModelProperty(value = "厂家",required = true)
    @ApiModelProperty(value = "厂家")
    @TableField("manufacturer")
    private String manufacturer;
@@ -96,8 +96,8 @@
    @TableField("unit")
    private String unit;
    @NotNull(message = "含税价格不能为空")
    @ApiModelProperty(value = "含税价格",required = true)
    @ApiModelProperty(value = "含税价格")
    @TableField("price")
    private BigDecimal price;
hazmat-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -50,6 +50,9 @@
            <if test="username != null and username != ''">
                AND u.username like concat('%', #{username}, '%')
            </if>
            <if test="name!=null and name!=''">
                and u.name like concat('%',#{name},'%')
            </if>
            <if test="status != null and status != ''">
                AND u.status = #{status}
            </if>