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