Commit a08c2948 by huluobin

update

parent 3a9bc1ac
......@@ -41,7 +41,7 @@ public class TakeLeaveEvent {
@ApiModelProperty("请假美甲师id")
private Integer applyTechnicianId;
@ApiModelProperty("1-加班 2-调休 3-事假 4-病假 5-外出 6-婚假")
@ApiModelProperty("1-加班 2-调休 3-事假 4-病假 5-外出 6-婚假 7-生日假")
private Integer type;
@ApiModelProperty("开始时间")
......
......@@ -123,7 +123,7 @@ public class OrderManageController {
}
@ApiOperation("根据skuName查询sku")
@PostMapping("//technician/ordermanage/selectBySkuName")
@PostMapping("/technician/ordermanage/selectBySkuName")
public JsonResult<PurchaseSku> selectBySkuName(String skuName) {
PurchaseSku purchaseSku = purchaseSkuMapper.selectBySkuName(skuName);
return JsonResult.success(purchaseSku);
......
......@@ -20,7 +20,8 @@
<select id="selectBySkuName" resultType="com.gogirl.domain.product.purchase.PurchaseSku">
select *
from purchase_sku
where sku_name = #{skuName}
where sku_name like concat('%', #{skuName}, '%')
limit 1
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment