|
@@ -15,7 +15,7 @@ public interface BedDeptDictDao {
|
|
|
|
|
|
@Select(" select a.ward_code as wardCode, " +
|
|
|
" a.dept_code as deptCode, " +
|
|
|
- " a.openbed_num as openBedNum, " +
|
|
|
+ " a.openbed_num as openbedNum, " +
|
|
|
" a.borrowbed_num as borrowBedNum, " +
|
|
|
" a.lentbed_num as lentbedNum, " +
|
|
|
" rtrim(a.ward_name) as wardName, " +
|
|
@@ -102,7 +102,7 @@ public interface BedDeptDictDao {
|
|
|
|
|
|
@Update("<script>" +
|
|
|
"<foreach item='item' collection='list' >" +
|
|
|
- " update zy_adtward set openbed_num = #{item.openBedNum} " +
|
|
|
+ " update zy_adtward set openbed_num = #{item.openbedNum} " +
|
|
|
" where ward_code = #{item.deptCode} and dept_code = #{item.deptCode} " +
|
|
|
"</foreach>" +
|
|
|
"</script>")
|