.......... if (!DataTypeUtil.isEmptyStr(xtNoticePojo.getNoticeTitle()))
{
sql+=" and t1.title like '%@noticeTitle%' ";
noticeTitle = xtNoticePojo.getNoticeTitle();
}
}
MIniUIGridResultMap list = new MIniUIGridResultMap(pm, sql, dao(), "RECEIVE_USER_ID", getLoginCzyId(), "STATUS_ID",SysConstant.STATUS.VALID.getId(),"noticeTitle",noticeTitle,"senderId",senderId);
```
打印的sql语句 .........and t.STATUS_ID=11 and t1.title like '%'你'%' )'