Commit dc7e98da by Licx

医院其他绩效AccountingUnit去掉首尾空值

parent f6b15eac
...@@ -66,7 +66,7 @@ public partial class PerforPerapramountRepository : PerforRepository<per_apr_amo ...@@ -66,7 +66,7 @@ public partial class PerforPerapramountRepository : PerforRepository<per_apr_amo
public List<view_per_apr_amount> GetFullAmount(int? allotId, int? status, string typeInDepartment = "") public List<view_per_apr_amount> GetFullAmount(int? allotId, int? status, string typeInDepartment = "")
{ {
string sql = "select * from view_per_apr_amount where ifnull(amount,0)<>0 "; string sql = "select AllotId, PersonnelNumber, Trim(AccountingUnit) AccountingUnit, UnitType, DoctorName, PerforType, Amount, TypeInDepartment, Status, Remark from view_other_amount where ifnull(amount,0)<>0 ";
DynamicParameters parameters = new DynamicParameters(); DynamicParameters parameters = new DynamicParameters();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment