| | |
| | | |
| | | List<BasJarMast> getJarMastByJarIdAndStatusListB(@Param("jarId") Integer jarId,@Param("statusList") List<Integer> statusList); |
| | | |
| | | List<BasJarMast> getJarMastByJarIdAndStatusListCharge(@Param("jarId") Integer jarId,@Param("statusList") List<Integer> statusList); |
| | | |
| | | BasJarMast getJarMastByJarIdMax(@Param("jarId") Integer jarId,@Param("statusList") List<Integer> statusList); |
| | | BasJarMast getJarMastByJarIdMaxB(@Param("jarId") Integer jarId,@Param("statusList") List<Integer> statusList); |
| | | |
| | |
| | | |
| | | List<BasJarMast> getJarMastByJarIdAndStatusList(Integer jarId,List<Integer> statusList); |
| | | |
| | | List<BasJarMast> getJarMastByJarIdAndStatusListCharge(Integer jarId,List<Integer> statusList); |
| | | |
| | | List<BasJarMast> getJarMastByJarIdAndStatusListB(Integer jarId,List<Integer> statusList); |
| | | |
| | | List<BasJarMast> getJarMastByJarIdAndStatusList(Integer jarId,Integer type); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<BasJarMast> getJarMastByJarIdAndStatusListCharge(Integer jarId,List<Integer> statusList) { |
| | | return this.baseMapper.getJarMastByJarIdAndStatusListCharge(jarId,statusList); |
| | | } |
| | | |
| | | @Override |
| | | public List<BasJarMast> getJarMastByJarIdAndStatusList(Integer jarId,Integer type) { |
| | | ArrayList<Integer> statusList = new ArrayList<>(); |
| | | switch (type){ |
| | |
| | | continue; |
| | | } |
| | | } else if (steProtocol.getCharge()<80.0F){ |
| | | List<BasJarMast> basJarMastList = basJarMastService.getJarMastByJarIdAndStatusListCharge(steSlave.getId(), new ArrayList<Integer>() {{ |
| | | add(5); |
| | | add(11); |
| | | add(16); |
| | | }}); |
| | | if(!basJarMastList.isEmpty()){ |
| | | continue; |
| | | } |
| | | if (wrkMastExecuteService.selectNoStart(steSlave.getId())!=0){ |
| | | continue; |
| | | } |
| | |
| | | order by jar_loc_digit desc |
| | | </select> |
| | | |
| | | <select id="getJarMastByJarIdAndStatusListCharge" resultMap="BaseResultMap"> |
| | | select * from asr_bas_jar_mast |
| | | where 1=1 |
| | | and |
| | | ( |
| | | status not in |
| | | <foreach collection="statusList" item="status" index="index" open="(" close=")" separator=","> |
| | | #{status} |
| | | </foreach> |
| | | ) |
| | | and jar_regin = #{jarId} |
| | | order by jar_loc_digit desc |
| | | </select> |
| | | |
| | | <select id="getJarMastByJarIdMax" resultMap="BaseResultMap"> |
| | | select top 1 * from asr_bas_jar_mast |
| | | where 1=1 |