|
@@ -157,9 +157,7 @@ public class RmsPersonnelServiceImpl implements IRmsPersonnelService {
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public int deletePersonnel(BigDecimal id) {
|
|
public int deletePersonnel(BigDecimal id) {
|
|
- RmsPersonnel rmsPersonnel=rmsPersonnelMapper.selectByPrimaryKey(id);
|
|
|
|
- rmsPersonnel.setDeleted(new BigDecimal(1));
|
|
|
|
- return rmsPersonnelMapper.updateByPrimaryKeySelective(rmsPersonnel);
|
|
|
|
|
|
+ return rmsPersonnelMapper.updateByPersonnelId(id);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|