|
|
@@ -20,6 +20,7 @@ import com.example.bpa.db.QueryDB; |
|
|
|
import com.example.bpa.db.mode.BPA_MATERIAL; |
|
|
|
import com.example.bpa.db.mode.BPA_SILOS; |
|
|
|
import com.example.bpa.db.mode.BPA_SILOSANDMATERIAL; |
|
|
|
import com.example.bpa.helper.T; |
|
|
|
import com.example.bpa.view.adapter.lc_item_adapter; |
|
|
|
import com.example.bpa.view.adapter.selectitem_adapter; |
|
|
|
import com.example.bpa.view.control.ItemClickListener; |
|
|
@@ -163,6 +164,7 @@ public class lcsz_activity extends AppCompatActivity implements View.OnClickList |
|
|
|
//更新 |
|
|
|
if(QueryDB.UpdateSilosAndMaterial(item)){ |
|
|
|
currentSilo.materialName.setText(((selectitem_adapter)viewHolder).getItem(position).name); |
|
|
|
T.show(lcsz_activity.this,"更新成功"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|