This commit is contained in:
parent
a431d047c4
commit
ad33168e9c
|
|
@ -70,8 +70,8 @@ public class Machine extends BaseEntity
|
|||
/** 出厂日期 */
|
||||
@ApiModelProperty(value = "出厂日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date outFacTime;
|
||||
@Excel(name = "出厂日期")
|
||||
private String outFacTime;
|
||||
|
||||
/** 出厂编号 */
|
||||
@Excel(name = "出厂编号")
|
||||
|
|
|
|||
|
|
@ -78,8 +78,11 @@
|
|||
SELECT *
|
||||
FROM ws_ma_info
|
||||
<where>
|
||||
<if test="maCode != null">
|
||||
ma_code like concat('%', #{maCode}, '%')
|
||||
<if test="maCode != null and maCode != ''">
|
||||
and ma_code like concat('%', #{maCode}, '%')
|
||||
</if>
|
||||
<if test="qrCode != null and qrCode != ''">
|
||||
and qr_code = #{qrCode}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue