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