@@ -20,7 +20,7 @@ public interface BoxCodeFormatMapper extends BaseMapper<BoxCodeFormat> {
* @param page
* @return
*/
- IPage<BoxCodeFormatVO> listBoxCodeFormat(IPage page, ListBoxCodeFormatReq param);
+ IPage<BoxCodeFormatVO> listBoxCodeFormat(IPage page, @Param("param") ListBoxCodeFormatReq param);
/**
* 根据ID查询详情信息
@@ -39,7 +39,7 @@
<if test="param.name != null and param.name != ''">
AND bcf.name like concat('%',#{param.name},'%')
</if>
- <if test="param.state != null and param.state != ''">
+ <if test="param.state != null ">
AND bcf.state = #{param.state}
</where>