新购验收入库 入库
This commit is contained in:
parent
9c58719e1a
commit
541a825f4f
|
|
@ -68,7 +68,7 @@ public class BpmPurchaseStorageController extends BaseController {
|
|||
}else {
|
||||
int status = purchaseStorageService.insertMaMachine(purchaseStorageDto1);
|
||||
}
|
||||
return purchaseStorageService.setStatus();
|
||||
return purchaseStorageService.setStatus(purchaseStorageDto1.getId());
|
||||
}
|
||||
/*
|
||||
* 入库驳回
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public interface BpmPurchaseStorageMapper {
|
|||
|
||||
int updateStorageNum(Integer inputNum, Integer typeId);
|
||||
|
||||
int setStatus();
|
||||
int setStatus(Integer id);
|
||||
|
||||
int insertmaMachine(MaMachine maMachine);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public interface BpmPurchaseStorageService {
|
|||
|
||||
int updateStorageNum(Integer inputNum, Integer typeId);
|
||||
|
||||
int setStatus();
|
||||
int setStatus(Integer id);
|
||||
|
||||
int insertMaMachine(PurchaseStorageDto purchaseStorageDto1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ public class BpmPurchaseStorageServiceImpl implements BpmPurchaseStorageService
|
|||
}
|
||||
|
||||
@Override
|
||||
public int setStatus() {
|
||||
return bpmPurchaseStorageMapper.setStatus();
|
||||
public int setStatus(Integer id) {
|
||||
return bpmPurchaseStorageMapper.setStatus(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
<update id="setStatus">
|
||||
update bpm_purchase_info
|
||||
SET status = '61'
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue