完善接口
This commit is contained in:
parent
d1d2c72fbe
commit
fede5e6540
@ -5,7 +5,7 @@ import com.ktg.mes.md.domain.AP0AE;
|
||||
import java.util.List;
|
||||
|
||||
public interface AP0AEMapper {
|
||||
List<AP0AE> selectAll();
|
||||
List<AP0AE> selectOutNewData();
|
||||
|
||||
int update(AP0AE ap0ae);
|
||||
int updateOutDataToOld(AP0AE ap0ae);
|
||||
}
|
||||
|
@ -18,6 +18,6 @@ public class AP0AEServiceImpl implements IAP0AEService {
|
||||
@DataSource(DataSourceType.SQLSERVER)
|
||||
@Override
|
||||
public List<AP0AE> selectAllAP0AE() {
|
||||
return this.aP0AEMapper.selectAll();
|
||||
return this.aP0AEMapper.selectOutNewData();
|
||||
}
|
||||
}
|
||||
|
@ -104,13 +104,14 @@
|
||||
from AP0AE
|
||||
</sql>
|
||||
|
||||
<select id="selectAll" resultMap="AP0AEResult">
|
||||
<select id="selectOutNewData" resultMap="AP0AEResult">
|
||||
<include refid="AP0AESelectAllCol"/>
|
||||
where UDF07 != 'ED'
|
||||
</select>
|
||||
|
||||
<update id="update">
|
||||
<update id="updateOutDataToOld">
|
||||
update AP0AE
|
||||
set UDF07 = #{UDF07}
|
||||
set UDF07 = 'ED'
|
||||
where AE001 = #{AE001}
|
||||
AND AE002 = #{AE002}
|
||||
AND AE003 = #{AE003}
|
||||
|
Loading…
Reference in New Issue
Block a user