Merge branch 'jkasrs' of http://47.97.1.152:5880/r/zy-asrs into jkasrs
 
	
	
	
	
	
	
	
	
	
	
	
	
	
 |  |  | 
 |  |  |                   @RequestParam(required = false)String condition, | 
 |  |  |                   @RequestParam Map<String, Object> param, | 
 |  |  |                   @RequestParam(required = false)Boolean unreason){ | 
 |  |  |         if (unreason) { | 
 |  |  |         if (!Cools.isEmpty(unreason) && unreason) { | 
 |  |  |  | 
 |  |  |             return R.ok(locDetlService.selectPage(new Page<>(curr, limit), new EntityWrapper<LocDetl>() | 
 |  |  |                     .where(" DATALENGTH( batch ) != 11 or\n" + | 
 
 |  |  | 
 |  |  | </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 !='' "> |