Merge remote-tracking branch 'origin/baotou-signup' into baotou-signup
This commit is contained in:
commit
ab14d2167a
@ -117,4 +117,5 @@ public interface IDistributionCardDao {
|
||||
*/
|
||||
Integer count(Map<String, Object> params) throws SearchException;
|
||||
|
||||
void updateFieldId(Map<String, Object> update) throws UpdateException;
|
||||
}
|
@ -322,7 +322,14 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist
|
||||
vo.setFieldName(field.getOrganizationName());
|
||||
vo.setFieldNumber(field.getOrganizationUserNum());
|
||||
vo.setFieldStatus("0");
|
||||
iDistributionFieldService.save(vo);
|
||||
String distributionFieldId = iDistributionFieldService.saveReturnId(vo);
|
||||
/**
|
||||
* 更新card关联
|
||||
*/
|
||||
Map<String, Object> update = new HashMap<String, Object>();
|
||||
update.put("fieldId", field.getOrganizationId());
|
||||
update.put("distributionFieldId", distributionFieldId);
|
||||
iDistributionCardService.updateFieldId(update);
|
||||
}
|
||||
/**
|
||||
* 保存考试申请
|
||||
|
@ -213,4 +213,5 @@ public interface IDistributionCardService {
|
||||
*/
|
||||
Integer count(Map<String, Object> params);
|
||||
|
||||
void updateFieldId(Map<String, Object> update);
|
||||
}
|
@ -323,4 +323,9 @@ public class DistributionCardServiceImpl extends DefaultBaseService implements I
|
||||
return count == null ? 0 : count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateFieldId(Map<String, Object> update) {
|
||||
distributionCardDao.updateFieldId(update);
|
||||
}
|
||||
|
||||
}
|
@ -129,6 +129,17 @@
|
||||
</foreach>
|
||||
</update>
|
||||
|
||||
<update id="updateFieldId" parameterType="map">
|
||||
UPDATE
|
||||
e_distribution_card
|
||||
SET
|
||||
distribution_field_id = #{distributionFieldId},
|
||||
gmt_modified = #{gmtModified},
|
||||
modifier = #{modifier}
|
||||
WHERE
|
||||
distribution_field_id = #{fieldId}
|
||||
</update>
|
||||
|
||||
<!-- 修改考场分配准考证 -->
|
||||
<update id="update" parameterType="map">
|
||||
UPDATE
|
||||
|
Loading…
Reference in New Issue
Block a user