SELECT u_dept.deptid
,u_dept.deptname
,u_dept.pricelistid
,u_dept.profitrate
,u_dept.springtypeid
,u_dept.createtime
,u_dept.moneyrate
,u_dept.discount
,u_dept.flag
,u_dept.if_rate_auto
,u_dept.modemp
,u_dept.moddate
,u_dept.auditemp
,u_dept.auditdate
,u_dept.manage_amt
,u_dept.mtrltype
,ISNULL(u_pricelist.pricelistname,'') AS pricelistname
,ISNULL(u_springtype.springtypename,'') AS springtypename
FROM u_dept
LEFT JOIN u_pricelist ON u_dept.pricelistid = u_pricelist.pricelistid
LEFT JOIN u_springtype ON u_springtype.springtypeid = u_dept.springtypeid
序
部门名称
价格表
弹簧分类
利润率
建立时间
汇率
是否自动读取汇率
修改人
修改时间
审核人
审核时间
部门管理费
默认物料类别