<selectid="getStopeName"resultType="cn.wise.sc.acquisition.business.entity.TMineStope"> select StopeName,StepName,BlastAreaName from T_Mine_Stope</select>
<selectid="getStopeNewList"resultType="cn.wise.sc.acquisition.business.entity.TMineStope"> select Uid,StopeName,StepName,BlastAreaName,IsUsing,AddDate FROM T_Mine_Stope a where Isusing =1 and not exists ( select StopeName , StepName , BlastAreaName from T_Processes_BlastDesign_Hole b where (a.StopeName=b.StopeName and a.StepName=b.StepName and a.BlastAreaName=b.BlastAreaName)<iftest="designDate != null and designDate != ''"> and Convert(varchar(100),DesignDate,23) <![CDATA[ <> ]]> #{designDate}</if> group by StopeName, StepName, BlastAreaName ) order by AddDate desc</select>