Compare commits

..

No commits in common. "f053d9f9cc6292e94fde1787f7f69708ca6a1c02" and "79928cc4a742e796ff09fb9fdf635ca875225187" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View File

@ -69,6 +69,5 @@ public class XmInfoNew {
private String val4;
private String val5;
private String isWsw;
private String inputcode;
}

View File

@ -7,13 +7,10 @@
select * from xm_info_new
<where>
<if test="xmid != null and xmid != ''"> and xmid = #{xmid}</if>
<if test="yq != null and yq != ''"> and yq = #{yq}</if>
<if test="xmdh != null and xmdh != ''"> and yq = #{xmdh}</if>
<if test="isWsw != null and isWsw !=''"><![CDATA[and yqdl <> '细菌仪']]></if>
<if test="yq != null and yq != ''"> and yq = #{yq}</if>
<if test="xmdh != null and xmdh != ''"> and yq = #{xmdh}</if>
<if test="isWsw != null and isWsw !=''"><![CDATA[and yqdl <> '细菌仪']]></if>
<if test="uflag != null and uflag !=''">and uflag = #{uflag}</if>
<if test="xmgl != null and xmgl !=''">and xmgl = #{xmgl}</if>
<if test="itemclass != null and itemclass !=''">and itemclass = #{itemclass}</if>
<if test="inputcode != null and inputcode !=''">and (xmdh like '%'+#{inputcode}+'%' or xmmc like '%'+#{inputcode}+'%' or zjf like '%'+#{inputcode}+'%' )</if>
</where>
</select>