|
public Function<Long, List<Material>> getMaterialFormFc() {
|
|
public Function<Long, List<Material>> getMaterialFormFc() {
|
|
- String sql="select a.certificate,a.material_arrive_number, b.material_name materialName,b.unit,a.price,b.price price_base,a.meter_amount meterAmount,meter_money sum,a.material_source source,material_conform materialConform,a.storage_place storagePlace,a.storage_status storageStatus,a.storage_conform storageConform,a.remark,c.sort,c.id period_id from s_material_meter_form a left join s_contract_material b on a.contract_material_id = b.id join s_meter_period c on a.meter_period_id=c.id where a.contract_id="+contractId+" and a.is_deleted=0 ";
|
|
|
|
|
|
+ String sql="select a.certificate,a.material_arrive_number,a.contract_material_name formMaterialName,b.material_name materialName,b.unit,a.price,b.price price_base,a.meter_amount meterAmount,meter_money sum,a.material_source source,material_conform materialConform,a.storage_place storagePlace,a.storage_status storageStatus,a.storage_conform storageConform,a.remark,c.sort,c.id period_id from s_material_meter_form a left join s_contract_material b on a.contract_material_id = b.id join s_meter_period c on a.meter_period_id=c.id where a.contract_id="+contractId+" and a.is_deleted=0 ";
|
|
return getEntityList(sql,Material.class);
|
|
return getEntityList(sql,Material.class);
|