| | |
| | | <where> |
| | | 1=1 |
| | | <if test="bo.line != null and bo.line != ''" > |
| | | AND line = #{bo.line} |
| | | AND line like CONCAT ('%', #{bo.line},'%') |
| | | </if> |
| | | <if test="bo.carName != null and bo.carName != ''" > |
| | | AND car_name like CONCAT ('%',#{bo.carName},'%') |
| | |
| | | user_name as userName, |
| | | car_name,SUM(sign_count) as signCount, |
| | | SUM(amount) as amount, |
| | | SUM(not_sign_count) as not_sign_count, |
| | | CONCAT_WS( '',( FORMAT((SUM( sign_count ) / SUM( amount )),4 ) *100), '%') as proportion, |
| | | (CASE `batch` WHEN '01段' THEN batch ELSE 0 END) as 'oneBatch', |
| | | (CASE `batch` WHEN '02段' THEN batch ELSE 0 END) as 'twoBatch', |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test="bo.line != null and bo.line != ''" > |
| | | AND line = #{bo.line} |
| | | AND line like CONCAT ('%', #{bo.line},'%') |
| | | </if> |
| | | <if test="bo.carName != null and bo.carName != ''" > |
| | | AND car_name like CONCAT ('%',#{bo.carName},'%') |
| | |
| | | <where> |
| | | 1=1 |
| | | <if test="bo.line != null and bo.line != ''" > |
| | | AND line = #{bo.line} |
| | | AND line like CONCAT ('%', #{bo.line},'%') |
| | | </if> |
| | | <if test="bo.carName != null and bo.carName != ''" > |
| | | AND car_name like CONCAT ('%',#{bo.carName},'%') |