|
@@ -543,9 +543,10 @@ public class YHBAction
|
|
|
if ((this.data != null) && (this.data.length() > 0))
|
|
|
{
|
|
|
YHB bean = yhbIF.searchYHBByID(Long.valueOf(Long.parseLong(this.data)));
|
|
|
-
|
|
|
- bean.setYhzt(4);
|
|
|
- yhbIF.getYHBService().updateYHB(bean);
|
|
|
+// 假删除改为真删除
|
|
|
+// bean.setYhzt(4);
|
|
|
+// yhbIF.getYHBService().updateYHB(bean);
|
|
|
+ yhbIF.getYHBService().deleteYHB(bean);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -555,9 +556,10 @@ public class YHBAction
|
|
|
yhbIF.getYHBService().getTransactionManager().begin();
|
|
|
String id = st.nextToken();
|
|
|
YHB bean = yhbIF.searchYHBByID(Long.valueOf(Long.parseLong(id)));
|
|
|
-
|
|
|
- bean.setYhzt(4);
|
|
|
- yhbIF.getYHBService().updateYHB(bean);
|
|
|
+// 假删除改为真删除
|
|
|
+// bean.setYhzt(4);
|
|
|
+// yhbIF.getYHBService().updateYHB(bean);
|
|
|
+ yhbIF.getYHBService().deleteYHB(bean);
|
|
|
|
|
|
yhbIF.getYHBService().getTransactionManager().commit();
|
|
|
}
|