|
@@ -225,7 +225,7 @@ public class FormulaDaoImpl implements IFormulaDao {
|
|
|
@Override
|
|
|
public Function<Long, List<MaterialAdjust>> getMaterialAdjustFc() {
|
|
|
return contractId->{
|
|
|
- String sql="select a.material_name ,a.material_price,a.current_price,a.adjust_money ,a.adjust_total,b.id periodId,b.sort,c.unit,c.quota_ratio " +
|
|
|
+ String sql="select a.material_name ,a.material_price,a.current_price,a.adjust_money,a.adjust_money_pre ,a.adjust_total,b.id periodId,b.sort,c.unit,c.quota_ratio " +
|
|
|
"from s_contract_material_adjust a join s_contract_meter_period b on a.meter_period_id= b.id join s_contract_material c on a.contract_material_id =c.id " +
|
|
|
" where a.contract_id="+contractId+" and a.is_deleted=0";
|
|
|
return getEntityList(sql,MaterialAdjust.class);
|