|  |  |  | 
|---|
|  |  |  | ]]> | 
|---|
|  |  |  | </where> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  | <select id="selectWorkCountInSum" resultType="java.lang.Integer"> | 
|---|
|  |  |  | SELECT SUM(anfme) FROM asr_wrkin_count_view WHERE 1=1 AND | 
|---|
|  |  |  | (oneday > #{start} | 
|---|
|  |  |  | AND | 
|---|
|  |  |  | oneday < #{end}) | 
|---|
|  |  |  | <if test="matnr != null and matnr !=''"> | 
|---|
|  |  |  | and matnr = #{matnr} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  | <select id="selectWorkCountOutSum" resultType="java.lang.Integer"> | 
|---|
|  |  |  | SELECT SUM(anfme) FROM asr_wrkout_count_view WHERE 1=1 AND | 
|---|
|  |  |  | (oneday > #{start} | 
|---|
|  |  |  | AND | 
|---|
|  |  |  | oneday < #{end}) | 
|---|
|  |  |  | <if test="matnr != null and matnr !=''"> | 
|---|
|  |  |  | and matnr = #{matnr} | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </mapper> | 
|---|